diff options
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/events.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index 99a64f045732..32ebebacee7f 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -68,12 +68,16 @@ int xen_set_callback_via(uint64_t via); | |||
68 | void xen_evtchn_do_upcall(struct pt_regs *regs); | 68 | void xen_evtchn_do_upcall(struct pt_regs *regs); |
69 | void xen_hvm_evtchn_do_upcall(void); | 69 | void xen_hvm_evtchn_do_upcall(void); |
70 | 70 | ||
71 | /* Allocate an irq for a physical interrupt, given a gsi. */ | 71 | /* Allocate a pirq for a physical interrupt, given a gsi. */ |
72 | int xen_allocate_pirq(unsigned gsi, int shareable, char *name); | 72 | int xen_allocate_pirq_gsi(unsigned gsi); |
73 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); | 73 | /* Bind a pirq for a physical interrupt to an irq. */ |
74 | int xen_bind_pirq_gsi_to_irq(unsigned gsi, | ||
75 | unsigned pirq, int shareable, char *name); | ||
74 | 76 | ||
75 | #ifdef CONFIG_PCI_MSI | 77 | #ifdef CONFIG_PCI_MSI |
78 | /* Allocate a pirq for a MSI style physical interrupt. */ | ||
76 | int xen_allocate_pirq_msi(struct pci_dev *dev, struct msi_desc *msidesc); | 79 | int xen_allocate_pirq_msi(struct pci_dev *dev, struct msi_desc *msidesc); |
80 | /* Bind an PSI pirq to an irq. */ | ||
77 | int xen_bind_pirq_msi_to_irq(struct pci_dev *dev, struct msi_desc *msidesc, | 81 | int xen_bind_pirq_msi_to_irq(struct pci_dev *dev, struct msi_desc *msidesc, |
78 | int pirq, int vector, const char *name); | 82 | int pirq, int vector, const char *name); |
79 | #endif | 83 | #endif |