1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test wait-for-interrupt instruction.
10 #include "riscv_test.h"
11 #include "test_macros.h"
16 # Make sure wfi doesn't halt the hart, even if interrupts are disabled
17 csrc sstatus, SSTATUS_SIE