arch/x86: (Intel64) implement SMP support

Add duplicate per-CPU data structures (x86_cpuboot, tss, stacks, etc.)
for up to 4 total CPUs, add code in locore and z_arch_start_cpu().

The test board, qemu_x86_long, now defaults to 2 CPUs.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-09-28 22:38:03 -04:00 committed by Anas Nashif
commit 3eb1a8b59a
7 changed files with 239 additions and 7 deletions

View file

@ -15,3 +15,4 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_DEBUG_INFO=y
CONFIG_SMP=y
CONFIG_MP_NUM_CPUS=2