Update mode.h to add CSR_TVEC

This commit is contained in:
yf13 2023-12-23 10:23:49 +08:00 committed by Xiang Xiao
parent 804f713c86
commit dec6ec1138

View file

@ -42,6 +42,7 @@
# define CSR_IE sie /* Interrupt enable register */
# define CSR_CAUSE scause /* Interrupt cause register */
# define CSR_TVAL stval /* Trap value register */
# define CSR_TVEC stvec /* Trap vector base addr register */
/* In status register */
@ -76,6 +77,7 @@
# define CSR_IE mie /* Interrupt enable register */
# define CSR_CAUSE mcause /* Interrupt cause register */
# define CSR_TVAL mtval /* Trap value register */
# define CSR_TVEC mtvec /* Trap vector base addr register */
/* In status register */