freebsd-nq/sys/x86/xen
Roger Pau Monné 25e34dd327 xen: implement event channel PIRQ support
This allows Dom0 to manage physical hardware, redirecting the
physical interrupts to event channels.

Sponsored by: Citrix Systems R&D

x86/xen/xen_intr.c:
 - Expand struct xenisrc to hold the level and triggering of PIRQ
   event channels.
 - Implement missing methods in xen_intr_pirq_pic.
 - Allow xen_intr_alloc_isrc to take a vector parameter that globally
   identifies the interrupt. This is only used for PIRQs that are
   bound to a specific hardware IRQ.
 - Introduce xen_register_pirq used to register IO APIC legacy PIRQ
   interrupts.
 - Add support for the dynamic PIRQ EOI map, this shared memory is
   modified by Xen (if it suppoorts that feature), and notifies the
   guest if an EOI is needed or not. If it's not available fall back
   to the old implementation using PHYSDEVOP_irq_status_query.
 - Rename xen_intr_isrc_count to xen_intr_auto_vector_count and
   replace it's usages.
 - Align static variables by name.

xen/xen_intr.h:
 - Add prototype for xen_register_pirq.
2014-08-04 08:42:29 +00:00
..
hvm.c xen: add hooks for Xen PV APIC 2014-06-16 08:43:45 +00:00
pv.c Fix build with SMP disabled. 2014-07-15 15:40:33 +00:00
pvcpu_enum.c xen: add an apic_enumerator for PVH 2014-03-11 10:25:08 +00:00
xen_apic.c Fix build with SMP disabled. 2014-07-15 15:40:33 +00:00
xen_intr.c xen: implement event channel PIRQ support 2014-08-04 08:42:29 +00:00
xen_nexus.c xen: add missing files 2014-06-16 08:54:04 +00:00
xenpv.c xen: add missing files 2014-06-16 08:54:04 +00:00