diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-08-20 09:46:52 -0400 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 16:25:40 -0400 |
commit | 01557baff6e9c371d4c96e01089dca32cf347500 (patch) | |
tree | e7c39a32d6ba1f0db53f8c6e512693f3a6f75c3f /include/xen | |
parent | 7a043f119c0e4b460306f868d9638ac55c6afa6f (diff) |
xen: get the maximum number of pirqs from xen
Use PHYSDEVOP_get_nr_pirqs to get the maximum number of pirqs from xen.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/interface/physdev.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xen/interface/physdev.h b/include/xen/interface/physdev.h index cd6939147cb6..fbb58833f13e 100644 --- a/include/xen/interface/physdev.h +++ b/include/xen/interface/physdev.h | |||
@@ -121,6 +121,12 @@ struct physdev_op { | |||
121 | } u; | 121 | } u; |
122 | }; | 122 | }; |
123 | 123 | ||
124 | #define PHYSDEVOP_get_nr_pirqs 22 | ||
125 | struct physdev_nr_pirqs { | ||
126 | /* OUT */ | ||
127 | uint32_t nr_pirqs; | ||
128 | }; | ||
129 | |||
124 | /* | 130 | /* |
125 | * Notify that some PIRQ-bound event channels have been unmasked. | 131 | * Notify that some PIRQ-bound event channels have been unmasked. |
126 | * ** This command is obsolete since interface version 0x00030202 and is ** | 132 | * ** This command is obsolete since interface version 0x00030202 and is ** |