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> |
||
|---|---|---|
| .. | ||
| common | ||
| riscv-privilege | ||
| arch.h | ||
| csr.h | ||
| error.h | ||
| exp.h | ||
| syscall.h | ||
| thread.h | ||