mcause is read-only.

This commit is contained in:
David Craven 2017-11-21 09:52:15 +01:00
parent 0d9d6cf334
commit 21bfaf49ae
No known key found for this signature in database
GPG Key ID: 33B9E9FDE28D2C23
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ csr!(mcounteren, MCOUNTEREN, 0x306, rw);
/// Machine Trap Handling /// Machine Trap Handling
csr!(mscratch, MSCRATCH, 0x340, rw); csr!(mscratch, MSCRATCH, 0x340, rw);
csr!(mepc, MEPC, 0x341, rw); csr!(mepc, MEPC, 0x341, rw);
csr!(mcause, MCAUSE, 0x342, rw); csr!(mcause, MCAUSE, 0x342, r);
csr!(mtval, MTVAL, 0x343, rw); csr!(mtval, MTVAL, 0x343, rw);
csr!(mip, MIP, 0x344, r); csr!(mip, MIP, 0x344, r);
/// Machine Protection and Translation /// Machine Protection and Translation