From 3abd7a16dd6a0a529b7eab1ef31a3819b54a931e Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Tue, 9 Aug 2022 13:41:45 -0400 Subject: [PATCH] comment --- kernel/riscv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/riscv.h b/kernel/riscv.h index 1f8a503..7e358f1 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) {