We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bb3b58 commit 5baba0cCopy full SHA for 5baba0c
asm.S
@@ -49,7 +49,7 @@ REG_READ(sie, 0x104)
49
REG_SET_CLEAR(sie, 0x104)
50
REG_READ(sip, 0x144)
51
REG_READ_WRITE(sscratch, 0x140)
52
-REG_READ(sstatus, 0x100)
+REG_READ_WRITE(sstatus, 0x100)
53
REG_SET_CLEAR(sstatus, 0x100)
54
REG_READ(stval, 0x143)
55
REG_READ_WRITE(stvec, 0x105)
src/register/sstatus.rs
@@ -105,6 +105,7 @@ impl Sstatus {
105
}
106
107
read_csr_as!(Sstatus, 0x100, __read_sstatus);
108
+write_csr!(0x100, __write_sstatus);
109
set!(0x100, __set_sstatus);
110
clear!(0x100, __clear_sstatus);
111
0 commit comments