aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/events.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h
index 0c58db6ea3f4..8fa27dc7358b 100644
--- a/include/xen/events.h
+++ b/include/xen/events.h
@@ -72,8 +72,12 @@ void xen_hvm_evtchn_do_upcall(void);
72 * usual. */ 72 * usual. */
73int xen_allocate_pirq(unsigned gsi, int shareable, char *name); 73int xen_allocate_pirq(unsigned gsi, int shareable, char *name);
74int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); 74int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name);
75
76#ifdef CONFIG_PCI_MSI
75/* Allocate an irq and a pirq to be used with MSIs. */ 77/* Allocate an irq and a pirq to be used with MSIs. */
76void xen_allocate_pirq_msi(char *name, int *irq, int *pirq); 78void xen_allocate_pirq_msi(char *name, int *irq, int *pirq);
79int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type);
80#endif
77 81
78/* De-allocates the above mentioned physical interrupt. */ 82/* De-allocates the above mentioned physical interrupt. */
79int xen_destroy_irq(int irq); 83int xen_destroy_irq(int irq);