nuttx/arch/risc-v
Masayuki Ishikawa b7063427c8 arch: risc-v: Fix up_check_tcbstack() for CONFIG_ARCH_ADDRENV=y
Summary:
- I noticed that ps shows incorrect stack usage when running
  getprime in the background.
- With CONFIG_ARCH_ADDRENV=y, a user task including pthread
  allocates its stack in the user space that needs to be
  accessed with a correct address environment.
- This commit fixes this issue.

Impact:
- CONFIG_ARCH_ADDRENV=y only

Testing:
- Tested with rv-virt:knsh64 on qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-31 09:20:36 +08:00
..
include riscv: Dump trap val in exception handler 2022-08-30 14:55:33 +08:00
src arch: risc-v: Fix up_check_tcbstack() for CONFIG_ARCH_ADDRENV=y 2022-08-31 09:20:36 +08:00
Kconfig risc-v/esp32c3: Add support for Protected Mode 2022-05-18 11:43:52 +08:00