diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/riscv.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/kernel/riscv.h b/kernel/riscv.h index d758845..645a775 100644 --- a/kernel/riscv.h +++ b/kernel/riscv.h @@ -183,6 +183,7 @@ w_mtvec(uint64 x)    asm volatile("csrw mtvec, %0" : : "r" (x));  } +// Physical Memory Protection  static inline void  w_pmpcfg0(uint64 x)  { | 
