Update mode.h to add CSR_TVEC
This commit is contained in:
parent
804f713c86
commit
dec6ec1138
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue