diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-05-09 16:39:39 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-05-09 16:39:39 -0700 |
commit | a60626553be99d69f879464dbeb71ffe1ff80c75 (patch) | |
tree | 9addb6b177536179dc4d9b72b510cbe7f0f70a78 /isa/rv64si/csr.S | |
parent | 5ce97df1c97b4ef39b94041350b910d12f782328 (diff) | |
download | riscv-tests-a60626553be99d69f879464dbeb71ffe1ff80c75.zip riscv-tests-a60626553be99d69f879464dbeb71ffe1ff80c75.tar.gz riscv-tests-a60626553be99d69f879464dbeb71ffe1ff80c75.tar.bz2 |
Update to privileged architecture version 1.7
Diffstat (limited to 'isa/rv64si/csr.S')
-rw-r--r-- | isa/rv64si/csr.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isa/rv64si/csr.S b/isa/rv64si/csr.S index 5d4b309..d66b432 100644 --- a/isa/rv64si/csr.S +++ b/isa/rv64si/csr.S @@ -23,7 +23,7 @@ RVTEST_CODE_BEGIN #define SSTATUS_PS MSTATUS_PRV1 #endif - csrwi scycle, 0 + csrwi cyclew, 0 csrwi sscratch, 3 TEST_CASE( 2, a0, 3, csrr a0, sscratch); @@ -85,7 +85,7 @@ privileged: syscall: # Make sure scause indicates a syscall. csrr t0, scause - li t1, CAUSE_ECALL + li t1, CAUSE_USER_ECALL bne t0, t1, fail # We're done. |