Separate page faults from physical memory access exceptions
[riscv-tests.git] / isa / rv64si / dirty.S
index 06c978068330158bee83d8c1803cd0e964197e5e..86e4656059fb8ae395607c55c8c281a096d5bb07 100644 (file)
@@ -58,7 +58,7 @@ RVTEST_CODE_BEGIN
   .align 2
 stvec_handler:
   csrr t0, scause
-  add t0, t0, -CAUSE_FAULT_STORE
+  add t0, t0, -CAUSE_STORE_PAGE_FAULT
   bnez t0, die
 
   li t1, 2