MSIP isn't supposed to be writable locally!
ma_fetch \
ma_addr \
scall \
- wfi \
sbreak \
rv64mi_mc_tests = \
+++ /dev/null
-# See LICENSE for license details.
-
-#include "riscv_test.h"
-#undef RVTEST_RV64S
-#define RVTEST_RV64S RVTEST_RV64M
-#define __MACHINE_MODE
-
-#include "../rv64si/wfi.S"
RVTEST_RV64S
RVTEST_CODE_BEGIN
-#ifdef __MACHINE_MODE
- #define sstatus mstatus
- #define sip mip
- #undef MIP_SSIP
- #define MIP_SSIP MIP_MSIP
- #undef SSTATUS_SIE
- #define SSTATUS_SIE MSTATUS_MIE
-#endif
-
# Make sure wfi doesn't stall if an interrupt is pending, even if masked
csrc sstatus, SSTATUS_SIE
csrs sip, MIP_SSIP