b674bf6e71
Enable single-threading support for the riscv architecture. Add z_riscv_switch_to_main_no_multithreading function for supporting single-threading. The single-threading does not work with enabling PMP_STACK_GUARD. It is because single-threading does not use context-switching. But the privileged mode transition that PMP depends on implicitly presupposes using context-switching. It is a contradiction. Thus, disable PMP_STACK_GUARD when MULTITHREADING is not enabled. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com> |
||
---|---|---|
.. | ||
core | ||
include | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.core | ||
Kconfig.isa |