mcause is read-only.
This commit is contained in:
parent
0d9d6cf334
commit
21bfaf49ae
|
@ -168,7 +168,7 @@ csr!(mcounteren, MCOUNTEREN, 0x306, rw);
|
|||
/// Machine Trap Handling
|
||||
csr!(mscratch, MSCRATCH, 0x340, rw);
|
||||
csr!(mepc, MEPC, 0x341, rw);
|
||||
csr!(mcause, MCAUSE, 0x342, rw);
|
||||
csr!(mcause, MCAUSE, 0x342, r);
|
||||
csr!(mtval, MTVAL, 0x343, rw);
|
||||
csr!(mip, MIP, 0x344, r);
|
||||
/// Machine Protection and Translation
|
||||
|
|
Loading…
Reference in New Issue