nuttx/arch/risc-v
Ville Juven 686b990a85 arch/ARCH_KERNEL_STACK: Fix signal handling with kernel stack
There were two issues with signal handling:
- With a kernel stack the "info" parameter was passed from kernel memory.
  This is fixed by making a stack frame to the user stack and copying it
  there.
- If the signal handler uses a system call, the kernel stack was completely
  and unconditionally destroyed, resulting in a crash in the user application

There is also no need to check ustkptr, it is always NULL. Why ? Because
signal delivery is deferred when a system call is being executed.
2023-01-26 20:41:42 +08:00
..
include litex: Allow custom peripheral memory mapping and IRQ. 2023-01-25 14:11:06 +08:00
src arch/ARCH_KERNEL_STACK: Fix signal handling with kernel stack 2023-01-26 20:41:42 +08:00
Kconfig arch: risc-v: Remove FPU support from qemu-rv 2022-09-20 11:40:40 +08:00