From 3897e6e50f937cc0821507e5a2e3df0124d57d03 Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Wed, 29 Mar 2023 23:17:34 +0800 Subject: [PATCH] fix CE --- os/src/boards/qemu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/src/boards/qemu.rs b/os/src/boards/qemu.rs index ad9cf096..0c8e9b4e 100644 --- a/os/src/boards/qemu.rs +++ b/os/src/boards/qemu.rs @@ -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)",