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>
9 lines
228 B
CMake
9 lines
228 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
|
|
|
|
zephyr_cc_option(-march=goldmont)
|
|
|
|
zephyr_library_sources(soc.c)
|
|
zephyr_library_sources_ifdef(CONFIG_SMP cpu.c)
|