summaryrefslogtreecommitdiff
path: root/p/riscv_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'p/riscv_test.h')
-rw-r--r--p/riscv_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index baad787..3fbcb50 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -63,7 +63,7 @@
.align 2; \
1:
-#define INIT_SPTBR \
+#define INIT_SATP \
la t0, 1f; \
csrw mtvec, t0; \
csrwi sptbr, 0; \
@@ -142,7 +142,7 @@ handle_exception: \
j write_tohost; \
reset_vector: \
RISCV_MULTICORE_DISABLE; \
- INIT_SPTBR; \
+ INIT_SATP; \
INIT_PMP; \
DELEGATE_NO_TRAPS; \
li TESTNUM, 0; \