zephyr/arch/riscv/core
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
..
offsets riscv: integrate the new FPU context switching support 2023-01-24 15:26:18 +01:00
asm_macros.inc
CMakeLists.txt riscv: integrate the new FPU context switching support 2023-01-24 15:26:18 +01:00
coredump.c
cpu_idle.c
fatal.c arch: move exc_handle.h under zephyr/arch/common 2023-08-31 09:19:19 -04:00
fpu.c riscv: FPU switching fixes 2023-01-30 23:47:36 +00:00
fpu.S riscv: smarter FPU context switching support 2023-01-24 15:26:18 +01:00
irq_manage.c drivers: plic: support multiple instances for multi-level 2023-11-09 18:20:43 +01:00
irq_offload.c
isr.S riscv: FPU trap: catch fused multiply-add instructions 2023-11-10 10:39:28 +01:00
pmp.c riscv: pmp: Fix assertion for PMP misaligned start address and size 2023-10-25 10:05:24 +02:00
pmp.S
prep_c.c
reboot.c
reset.S arch: riscv: fix hangup of multicore boot 2023-11-10 10:40:01 +01:00
semihost.c
smp.c arch: riscv: fix hangup in boot if hart0 is not boot hart 2023-11-14 09:24:17 +01:00
switch.S riscv: integrate the new FPU context switching support 2023-01-24 15:26:18 +01:00
thread.c Revert "arch: riscv: Enable builds without the multithreading" 2023-05-26 09:04:30 -04:00
tls.c
userspace.S
vector_table.ld