freebsd-skq/sys/x86
Roger Pau Monné 079f7ef839 xen: add a hook to perform AP startup
AP startup on PVH follows the PV method, so we need to add a hook in
order to diverge from bare metal.

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

amd64/amd64/machdep.c:
 - Add hook for start_all_aps on native (using native_start_all_aps
   defined in mp_machdep).

amd64/amd64/mp_machdep.c:
 - Make some variables global because they will also be used by the
   Xen PVH AP startup code.
 - Use the start_all_aps hook to start APs.
 - Rename start_all_aps to native_start_all_aps.

amd64/include/smp.h:
 - Add declaration for native_start_all_aps.

x86/include/init.h:
 - Declare start_all_aps hook in init_ops.

x86/xen/pv.c:
 - Pick external declarations from mp_machdep.
 - Introduce Xen PV code to start APs on PVH.
 - Set start_all_aps init hook to use the Xen PVH implementation.
2014-03-11 10:27:57 +00:00
..
acpica Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c. 2014-03-04 21:35:57 +00:00
bios
cpufreq Do not DELAY() for P-state transition unless we want to see the result. 2013-12-10 20:25:43 +00:00
include xen: add a hook to perform AP startup 2014-03-11 10:27:57 +00:00
iommu Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
isa xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
pci Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge 2014-02-12 04:30:37 +00:00
x86 xen: implement an early timer for Xen PVH 2014-03-11 10:20:42 +00:00
xen xen: add a hook to perform AP startup 2014-03-11 10:27:57 +00:00