diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-02 15:17:11 +0000 |
---|---|---|
committer | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2012-02-02 15:17:11 +0000 |
commit | 0063dbabdd946c72d49d1cd861de878f4ef57f65 (patch) | |
tree | 02e4620fdf5fff1e161da8cca53ca0fc25c59790 /xen/include/xsm | |
parent | 3beb32854400bf5753265e65a4579f71f60a6546 (diff) | |
download | xen-0063dbabdd946c72d49d1cd861de878f4ef57f65.tar.gz xen-0063dbabdd946c72d49d1cd861de878f4ef57f65.tar.bz2 xen-0063dbabdd946c72d49d1cd861de878f4ef57f65.zip |
xsm: Add security label to IRQ debug output
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xsm')
-rw-r--r-- | xen/include/xsm/xsm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h index 92204b3288..6e3a8f051a 100644 --- a/xen/include/xsm/xsm.h +++ b/xen/include/xsm/xsm.h @@ -113,6 +113,8 @@ struct xsm_operations { int (*kexec) (void); int (*schedop_shutdown) (struct domain *d1, struct domain *d2); + + char *(*show_irq_sid) (int irq); int (*irq_permission) (struct domain *d, int pirq, uint8_t allow); int (*iomem_permission) (struct domain *d, uint64_t s, uint64_t e, uint8_t allow); int (*pci_config_permission) (struct domain *d, uint32_t machine_bdf, uint16_t start, uint16_t end, uint8_t access); @@ -477,6 +479,11 @@ static inline int xsm_schedop_shutdown (struct domain *d1, struct domain *d2) return xsm_call(schedop_shutdown(d1, d2)); } +static inline char *xsm_show_irq_sid (int irq) +{ + return xsm_call(show_irq_sid(irq)); +} + static inline int xsm_irq_permission (struct domain *d, int pirq, uint8_t allow) { return xsm_call(irq_permission(d, pirq, allow)); |