diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-07-07 19:29:03 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-07-07 19:29:03 -0700 |
commit | 3dc00e7b04834f862a074ac8822892e1ecfc009c (patch) | |
tree | 363394fe4b6ff532cb4c5d500cd0f3d08043a9c0 /isa/rv64si | |
parent | aff36b0963e6eee63906b3d8622be5a98ba27a43 (diff) | |
download | riscv-tests-3dc00e7b04834f862a074ac8822892e1ecfc009c.zip riscv-tests-3dc00e7b04834f862a074ac8822892e1ecfc009c.tar.gz riscv-tests-3dc00e7b04834f862a074ac8822892e1ecfc009c.tar.bz2 |
Update WFI test for priv v1.9
Diffstat (limited to 'isa/rv64si')
-rw-r--r-- | isa/rv64si/wfi.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/isa/rv64si/wfi.S b/isa/rv64si/wfi.S index 8e56909..0302034 100644 --- a/isa/rv64si/wfi.S +++ b/isa/rv64si/wfi.S @@ -13,9 +13,10 @@ RVTEST_RV64S RVTEST_CODE_BEGIN - # Make sure wfi doesn't stall if an interrupt is pending, even if masked + # Make sure wfi doesn't halt the hart, even if interrupts are disabled csrc sstatus, SSTATUS_SIE - csrs sip, MIP_SSIP + csrs sie, SIP_SSIP + csrs sip, SIP_SSIP wfi RVTEST_PASS |