让riscv64能正常切换进程,并运行完所有的initcall (#721)

This commit is contained in:
LoGin
2024-04-14 20:39:20 +08:00
committed by GitHub
parent 9fab312ea9
commit 9621ab16ef
23 changed files with 203 additions and 120 deletions

View File

@ -526,10 +526,6 @@ pub fn send_to_default_serial8250_port(s: &[u8]) {
#[cfg(target_arch = "riscv64")]
{
if unsafe { INITIALIZED } {
todo!("riscv64: send_to_default_serial8250_port")
} else {
crate::arch::driver::sbi::console_putstr(s);
}
crate::arch::driver::sbi::console_putstr(s);
}
}