nuttx/arch/risc-v/src
Ville Juven 10e44f8915 riscv_fork.c: Fix race condition when handling parent integer registers
We need to record the parent's integer register context upon exception
entry to a separate non-volatile area. Why?

Because xcp.regs can move due to a context switch within the fork() system
call, be it either via interrupt or a synchronization point.

Fix this by adding a "sregs" area where the saved user context is placed.
The critical section within fork() is also unnecessary.
2024-10-03 09:07:57 +08:00
..
bl602 clock: Replace all ts and tick conversion functions 2024-09-12 18:14:39 +08:00
bl808 nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
c906
cmake cmake:split the archive process to avoid parameter problems 2024-08-18 23:26:01 +08:00
common riscv_fork.c: Fix race condition when handling parent integer registers 2024-10-03 09:07:57 +08:00
esp32c3 espressif: Fix MCUboot build on RISC-V and unify linker script 2024-08-21 23:28:45 +08:00
esp32c3-legacy CI: Improvement to speed up compilation and reduce download errors. 2024-09-20 11:26:01 +08:00
esp32c6 espressif: Fix MCUboot build on RISC-V and unify linker script 2024-08-21 23:28:45 +08:00
esp32h2 espressif: Fix MCUboot build on RISC-V and unify linker script 2024-08-21 23:28:45 +08:00
fe310
hpm6000
hpm6750
jh7110
k210 board/maix-bit: add cmake support 2024-08-24 11:08:25 +08:00
k230 riscv/nsbi: prefer PMP settings in device hook 2024-08-01 23:32:01 +08:00
litex arch/risc-v/src/litex_ticked: Set initial tick count to known value. 2024-09-20 10:51:45 +08:00
mpfs usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
nuttsbi riscv/nsbi: halt upon sbi_mexception 2024-08-01 23:32:01 +08:00
opensbi
qemu-rv sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
rv32m1 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
sg2000
.gitignore
CMakeLists.txt
Makefile mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00