Allow writing directly to satp register
This commit is contained in:
parent
95c52341c4
commit
7a9aa062a0
@ -87,7 +87,7 @@ pub enum Mode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
read_csr_as!(Satp, 0x180, __read_satp);
|
read_csr_as!(Satp, 0x180, __read_satp);
|
||||||
write_csr!(0x180, __write_satp);
|
write_csr_as_usize!(0x180, __write_satp);
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
#[cfg(riscv32)]
|
#[cfg(riscv32)]
|
||||||
|
Loading…
Reference in New Issue
Block a user