zephyr/arch
Katsuhiro Suzuki 9e29c70a1f arch: riscv: fix hangup in boot if hart0 is not boot hart
This patch changes the section of riscv_cpu_wake_flag variable to
noinit from bss to fix hangup of RISC-V multicore boot if hart0 is
not boot hart (CONFIG_RV_BOOT_HART != 0).

Current boot sequence initializes a riscv_cpu_wake_flag to -1 but
this variable is unintentionally changed to 0 by boot hart.
This is because the variable is placed in bss section so this patch
changes the section of the variable to noinit.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2023-11-14 09:24:17 +01:00
..
arc arch: remove wait_q.h include 2023-09-12 12:55:36 -04:00
arm llext: use elf_rela_t instead of elf_rel_t 2023-11-09 18:21:27 +01:00
arm64 arch: arm64: avoid invalidating of RO mem after mem map 2023-11-09 10:19:12 +00:00
common arch: common: guard the compilation of sw_isr_common with CMakeLists.txt 2023-11-09 11:20:42 +01:00
mips COVERAGE: Fix COVERAGE_GCOV dependencies 2023-08-24 15:36:31 +02:00
nios2 arch: nios2: Remove unused absolute symbols 2023-04-18 10:51:28 -04:00
posix cmake: compiler: Add compiler property for no-builtin 2023-11-13 10:21:41 +01:00
riscv arch: riscv: fix hangup in boot if hart0 is not boot hart 2023-11-14 09:24:17 +01:00
sparc SPARC: Update the Flush windows software trap 2023-10-25 09:54:31 -05:00
x86 arch: x86: Use ACPICA typdef instead of struct name 2023-11-06 12:32:31 +01:00
xtensa xtensa: add custom mem range check functions 2023-10-20 15:08:34 +02:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig kernel: init: conditional .bss section zeroing 2023-11-08 10:07:26 +01:00