diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-07-01 12:10:39 -0400 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 16:25:43 -0400 |
commit | 809f9267bbaba7765cdb86a47f2e6e4bf4951b69 (patch) | |
tree | 5ed0ad8e7f5f535d94927498feefba15c9770e91 /include/xen/events.h | |
parent | 3942b740e5183caad47a4a3fcb37a4509ce7af83 (diff) |
xen: map MSIs into pirqs
Map MSIs into pirqs, writing 0 in the MSI vector data field and the pirq
number in the MSI destination id field.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/events.h')
-rw-r--r-- | include/xen/events.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index deec8faace22..0c58db6ea3f4 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -72,6 +72,8 @@ void xen_hvm_evtchn_do_upcall(void); | |||
72 | * usual. */ | 72 | * usual. */ |
73 | int xen_allocate_pirq(unsigned gsi, int shareable, char *name); | 73 | int xen_allocate_pirq(unsigned gsi, int shareable, char *name); |
74 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); | 74 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); |
75 | /* Allocate an irq and a pirq to be used with MSIs. */ | ||
76 | void xen_allocate_pirq_msi(char *name, int *irq, int *pirq); | ||
75 | 77 | ||
76 | /* De-allocates the above mentioned physical interrupt. */ | 78 | /* De-allocates the above mentioned physical interrupt. */ |
77 | int xen_destroy_irq(int irq); | 79 | int xen_destroy_irq(int irq); |