freebsd-dev/sys/x86/xen
Roger Pau Monné 3d80242f23 xen: add an apic_enumerator for PVH
On PVH there's no ACPI, so the CPU enumeration must be implemented
using Xen hypercalls.

Approved by: gibbs
Sponsored by: Citrix Systems R&D

x86/xen/pvcpu_enum.c:
 - Enumerate avaiable vCPUs on PVH by using the VCPUOP_is_up
   hypercall.
 - Set vcpu_id for PVH guests.

conf/files.amd64:
 - Include the PV CPU enumerator in the XENHVM build.
2014-03-11 10:25:08 +00:00
..
hvm.c xen: use the same hypercall mechanism for XEN and XENHVM 2014-03-11 10:24:13 +00:00
pv.c xen: implement hook to fetch and parse e820 memory map 2014-03-11 10:23:03 +00:00
pvcpu_enum.c xen: add an apic_enumerator for PVH 2014-03-11 10:25:08 +00:00
xen_intr.c Move <machine/apicvar.h> to <x86/apicvar.h>. 2014-01-23 20:10:22 +00:00