diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-07-01 12:08:14 -0400 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2010-10-22 16:25:40 -0400 |
commit | 7a043f119c0e4b460306f868d9638ac55c6afa6f (patch) | |
tree | 6642df09a1bf509ee553bef0ab9e6032ba832271 /include/xen | |
parent | 67ba37293e938208795d6a3562201bdb0cf43393 (diff) |
xen: support pirq != irq
PHYSDEVOP_map_pirq might return a pirq different from what we asked if
we are running as an HVM guest, so we need to be able to support pirqs
that are different from linux irqs.
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/events.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index c1717ca5ac13..deec8faace22 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -71,6 +71,7 @@ void xen_hvm_evtchn_do_upcall(void); | |||
71 | * GSIs are identity mapped; others are dynamically allocated as | 71 | * GSIs are identity mapped; others are dynamically allocated as |
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 | 75 | ||
75 | /* De-allocates the above mentioned physical interrupt. */ | 76 | /* De-allocates the above mentioned physical interrupt. */ |
76 | int xen_destroy_irq(int irq); | 77 | int xen_destroy_irq(int irq); |