update sr/sbi.rs for make BOARD=k210

This commit is contained in:
Yu Chen 2022-06-23 21:12:14 +08:00
parent 5a73a97fab
commit cc636058d4

View File

@ -38,6 +38,7 @@ pub fn console_getchar() -> usize {
sbi_call(SBI_CONSOLE_GETCHAR, 0, 0, 0)
}
#[cfg(feature = "board_qemu")]
use crate::board::QEMUExit;
/// use sbi call to shutdown the kernel
pub fn shutdown() -> ! {