1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
10 #include "riscv_test.h"
11 #include "test_macros.h"
17 #define sscratch mscratch
18 #define sstatus mstatus
21 #define stvec_handler mtvec_handler
22 #undef CAUSE_SUPERVISOR_ECALL
23 #define CAUSE_SUPERVISOR_ECALL CAUSE_MACHINE_ECALL
35 li t1, CAUSE_SUPERVISOR_ECALL