Skip to content
Snippets Groups Projects
Commit dd6e2678 authored by Luis Gerhorst's avatar Luis Gerhorst
Browse files

test_mp_start

$ ZEPHYR_TOOLCHAIN_VARIANT=zephyr ./scripts/sanitycheck -T tests/kernel/mp/ -p qemu_raspi3 -W
parent e9160f6f
No related tags found
No related merge requests found
......@@ -32,3 +32,4 @@ zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
zephyr_library_sources_ifdef(CONFIG_ARM_MMU arm_mmu.c)
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE ../common/tls.c)
zephyr_library_sources_ifdef(CONFIG_SMP cpu_smp.c)
zephyr_library_sources_ifdef(CONFIG_ZTEST cpu_smp.c)
......@@ -204,7 +204,7 @@ raspi3_get_el:
lsr x0, x0, #2
ret
#if defined(CONFIG_SMP)
#if defined(CONFIG_SMP) || defined(CONFIG_ZTEST)
.globl raspi3b_smp_init_top_wrapper
raspi3b_smp_init_top_wrapper:
/* Put CPU ID into x4. */
......
......@@ -40,7 +40,7 @@ static const struct arm_mmu_region mmu_regions[] = {
DT_REG_SIZE(DT_INST(0, arm_raspi3_mini)),
MT_DEVICE_nGnRnE | MT_RW | MT_SECURE),
#endif
#ifdef CONFIG_SMP
#if defined(CONFIG_SMP) || defined(CONFIG_ZTEST)
MMU_REGION_FLAT_ENTRY("SPINTABLE",
0x00000000,
0x1000,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment