mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 01:16:26 +04:00
fix CE
This commit is contained in:
parent
ca30fac18b
commit
3897e6e50f
@ -79,7 +79,7 @@ pub unsafe extern "C" fn timervec() -> ! {
|
||||
// used for processing in this scratch space.
|
||||
// a0 saved in mscrach, a1 ~ a3 saved in scratch space.
|
||||
//loop {}
|
||||
asm!(
|
||||
core::arch::asm!(
|
||||
"csrrw a0, mscratch, a0",
|
||||
"sd a1, 0(a0)",
|
||||
"sd a2, 8(a0)",
|
||||
|
Loading…
Reference in New Issue
Block a user