zephyr/arch
Jim Shu 35ef71f7c0 arch: riscv: pmp: simplify thread initialization
Thread init related to PMP & userspace contains 5 parts:

1. User/supervisor thread clear PMP context
2. User thread clear it's context
3. User/supervisor thread assign to different entry
4. Supervisor thread assign mstatus.MPRV for M-mode PMP protection
5. User/supervisor thread setup PMP regions of stack guard if enabled

Signed-off-by: Jim Shu <cwshu@andestech.com>
2022-01-11 11:47:03 +01:00
..
arc soc: arc: fix ARC_HAS_ACCL_REGS settings 2021-12-02 11:32:14 -06:00
arm arch: cortex_m: Fix dwt cyccnt assert 2021-12-10 12:27:49 +01:00
arm64 xenvm: arm64: add Xen Enlighten and event channel support 2021-12-07 12:15:38 -05:00
common cmake: CMake linker script generator pass handling 2021-11-08 20:45:07 +01:00
nios2 arch: nios2: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
posix pm: Remove unused parameter 2021-11-17 11:15:49 -05:00
riscv arch: riscv: pmp: simplify thread initialization 2022-01-11 11:47:03 +01:00
sparc arch/sparc: Add hook for CONFIG_SCHED_THREAD_USAGE accounting in ISRs 2021-11-08 21:32:20 -05:00
x86 drivers/interrupt_controller: Add source id to VT-D interrupt remap 2022-01-07 10:47:27 -05:00
xtensa soc/intel_adsp: Unify Xtensa CPU reset between cores 2021-12-14 18:43:05 -06:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
Kconfig coredump: add support for RISC-V 2021-12-08 08:54:32 -05:00