diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-08-20 14:46:52 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 21:25:40 +0100 |
commit | 01557baff6e9c371d4c96e01089dca32cf347500 (patch) | |
tree | e7c39a32d6ba1f0db53f8c6e512693f3a6f75c3f /include/xen | |
parent | 7a043f119c0e4b460306f868d9638ac55c6afa6f (diff) | |
download | op-kernel-dev-01557baff6e9c371d4c96e01089dca32cf347500.zip op-kernel-dev-01557baff6e9c371d4c96e01089dca32cf347500.tar.gz |
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 cd69391..fbb5883 100644 --- a/include/xen/interface/physdev.h +++ b/include/xen/interface/physdev.h @@ -121,6 +121,12 @@ struct physdev_op { } u; }; +#define PHYSDEVOP_get_nr_pirqs 22 +struct physdev_nr_pirqs { + /* OUT */ + uint32_t nr_pirqs; +}; + /* * Notify that some PIRQ-bound event channels have been unmasked. * ** This command is obsolete since interface version 0x00030202 and is ** |