Merge recent updates from ch8
This commit is contained in:
commit
e1ae9b6236
99 changed files with 1959 additions and 1437 deletions
|
@ -1,5 +1,7 @@
|
|||
#![allow(unused)]
|
||||
|
||||
use core::arch::asm;
|
||||
|
||||
const SBI_SET_TIMER: usize = 0;
|
||||
const SBI_CONSOLE_PUTCHAR: usize = 1;
|
||||
const SBI_CONSOLE_GETCHAR: usize = 2;
|
||||
|
@ -41,4 +43,3 @@ pub fn shutdown() -> ! {
|
|||
sbi_call(SBI_SHUTDOWN, 0, 0, 0);
|
||||
panic!("It should shutdown!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue