nuttx/arch/risc-v/src
Eero Nurkkala b7d2b38700 risc-v/mpfs: opensbi: fix random boot failures
After the commit b8b541f, the system would not start up properly
with certain coldboot conditions. For example, if the OpenSBI picked
hart4 as the coldboot hart in preference to hart3, the system would
get stuck due to stack corruption. OpenSBI uses a lottery mechanism
to pick the coldboot hart.

Also fix g_scratches area in such a manner than it will not get
initialized to zero. If several harts initialize the area to zero, there's
danger the stack pointer gets wiped out.

Now any coldboot hart works.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-11-05 00:37:51 +08:00
..
bl602 fix bl602 i2c sem init mistake 2022-10-27 21:21:01 +08:00
c906 arch: Change the linker generated symbols from uint32_t to uint8_t * 2022-09-24 21:26:56 +02:00
common mpfs/mpfs_mm_init: Fix the section align mask checks 2022-11-04 23:03:10 +08:00
esp32c3 esp32[-s2/-s3/-c3]: Re-sort SPI Flash configs 2022-10-27 10:07:40 +08:00
fe310 arch: Change the linker generated symbols from uint32_t to uint8_t * 2022-09-24 21:26:56 +02:00
k210 arch: risc-v: Introduce RISCV_IPI macro for SMP 2022-10-07 14:49:29 +08:00
litex sem:remove sem default protocl 2022-10-22 14:50:48 +08:00
mpfs risc-v/mpfs: opensbi: fix random boot failures 2022-11-05 00:37:51 +08:00
opensbi arch: risc-v: Fix license information to use the OpenSBI 2022-09-27 18:29:09 +02:00
qemu-rv Remove the unnecessary cast for main_t, NULL and argv 2022-10-18 08:51:45 +02:00
rv32m1 libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
.gitignore
Makefile tools: replace INCDIR to Makefile variable 2022-11-03 19:59:55 +08:00