aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/events.h')
-rw-r--r--include/xen/events.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h
index a15d93262e30..8f6232023b75 100644
--- a/include/xen/events.h
+++ b/include/xen/events.h
@@ -63,4 +63,15 @@ int xen_set_callback_via(uint64_t via);
63void xen_evtchn_do_upcall(struct pt_regs *regs); 63void xen_evtchn_do_upcall(struct pt_regs *regs);
64void xen_hvm_evtchn_do_upcall(void); 64void xen_hvm_evtchn_do_upcall(void);
65 65
66/* Allocate an irq for a physical interrupt, given a gsi. "Legacy"
67 * GSIs are identity mapped; others are dynamically allocated as
68 * usual. */
69int xen_allocate_pirq(unsigned gsi);
70
71/* Return vector allocated to pirq */
72int xen_vector_from_irq(unsigned pirq);
73
74/* Return gsi allocated to pirq */
75int xen_gsi_from_irq(unsigned pirq);
76
66#endif /* _XEN_EVENTS_H */ 77#endif /* _XEN_EVENTS_H */