diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/riscv_encoding.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index 84d3c17b..64f0249b 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -86,6 +86,8 @@ #define HSTATUS_GVA _UL(0x00000040) #define HSTATUS_VSBE _UL(0x00000020) +#define MTVEC_MODE _UL(0x00000003) + #define MCAUSE_IRQ_MASK (_UL(1) << (__riscv_xlen - 1)) #define IRQ_S_SOFT 1 |
