diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-03-27 14:26:09 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-03-27 14:27:08 -0700 |
commit | 1b78e242657f80250292f39e1f41bad2b1ab9d6c (patch) | |
tree | 7c82538e6287459bde7c3f4a70052919cf03cb40 /isa/rv64si/dirty.S | |
parent | f9e8b267a273eb704f6def6f0fa04140d0654d18 (diff) | |
download | riscv-tests-1b78e242657f80250292f39e1f41bad2b1ab9d6c.zip riscv-tests-1b78e242657f80250292f39e1f41bad2b1ab9d6c.tar.gz riscv-tests-1b78e242657f80250292f39e1f41bad2b1ab9d6c.tar.bz2 |
Separate page faults from physical memory access exceptions
Diffstat (limited to 'isa/rv64si/dirty.S')
-rw-r--r-- | isa/rv64si/dirty.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64si/dirty.S b/isa/rv64si/dirty.S index 06c9780..86e4656 100644 --- a/isa/rv64si/dirty.S +++ b/isa/rv64si/dirty.S @@ -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 |