diff options
author | David Vrabel <david.vrabel@citrix.com> | 2013-03-13 11:29:25 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-01-06 10:07:41 -0500 |
commit | 9a489f45a155fe96b9b55fbbef2b757ef7737cfc (patch) | |
tree | 1104f50a1adaeea564344bdfe221a5edf2141077 /include/xen | |
parent | d2ba3166f23baa53f5ee9c5c2ca43b42fb4e9e62 (diff) |
xen/events: move 2-level specific code into its own file
In preparation for alternative event channel ABIs, move all the
functions accessing the shared data structures into their own file.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'include/xen')
-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 c9ea10ee2273..32ae0f263749 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -73,6 +73,8 @@ void xen_poll_irq_timeout(int irq, u64 timeout); | |||
73 | 73 | ||
74 | /* Determine the IRQ which is bound to an event channel */ | 74 | /* Determine the IRQ which is bound to an event channel */ |
75 | unsigned irq_from_evtchn(unsigned int evtchn); | 75 | unsigned irq_from_evtchn(unsigned int evtchn); |
76 | int irq_from_virq(unsigned int cpu, unsigned int virq); | ||
77 | unsigned int evtchn_from_irq(unsigned irq); | ||
76 | 78 | ||
77 | /* Xen HVM evtchn vector callback */ | 79 | /* Xen HVM evtchn vector callback */ |
78 | void xen_hvm_callback_vector(void); | 80 | void xen_hvm_callback_vector(void); |