summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--v/vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/v/vm.c b/v/vm.c
index 51cd1a3..c58bc38 100644
--- a/v/vm.c
+++ b/v/vm.c
@@ -234,6 +234,7 @@ void vm_boot(uintptr_t test_addr)
"csrrw t0, mtvec, t0\n\t"
"csrw pmpaddr0, %1\n\t"
"csrw pmpcfg0, %0\n\t"
+ ".align 2\n\t"
"1:"
: : "r" (pmpc), "r" (-1UL) : "t0");