zephyr/include/arch/riscv
Jim Shu fd2c07682e arch: riscv: pmp: Fix is_user_mode in RV64
Currently, is_user_mode is 8-byte in riscv64 and it breaks a 4-byte PMP
region protecting it. Because is_user_mode is a single flag, we could
just fix it's size to 4-byte in both riscv32 and riscv64.

Signed-off-by: Jim Shu <cwshu09@gmail.com>
2022-01-18 13:11:36 -05:00
..
common riscv: linker: fix duplicate symbol when CONFIG_USERSPACE=y 2022-01-11 11:47:03 +01:00
riscv-privilege arch/riscv: rearrange for standard use of extern "C" 2019-08-18 16:20:10 +02:00
arch.h arch: riscv: ARCH_EXCEPT macro 2022-01-01 07:38:20 -05:00
csr.h copyright: add missing license 2021-09-24 17:07:37 -04:00
error.h arch: riscv: ARCH_EXCEPT macro 2022-01-01 07:38:20 -05:00
exp.h arch: riscv: remove unneeded context switch to gp register 2021-08-18 05:18:55 -04:00
syscall.h arch: riscv: pmp: Fix is_user_mode in RV64 2022-01-18 13:11:36 -05:00
thread.h arch: riscv: pmp: simplify pmp region number computation 2022-01-11 11:47:03 +01:00