mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 04:56:30 +00:00
让riscv64能正常切换进程,并运行完所有的initcall (#721)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user