mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 12:06:43 +00:00
Log messages to the serial atomically and rename arch::serial
Co-authored-by: Chuandong Li <lichuand@pku.edu.cn>
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6ff6db2167
commit
9e5f3123e1
@ -18,6 +18,7 @@ impl Write for VirtioConsolesPrinter {
|
||||
}
|
||||
}
|
||||
|
||||
/// Prints the formatted arguments to the standard output.
|
||||
pub fn _print(args: Arguments) {
|
||||
VirtioConsolesPrinter.write_fmt(args).unwrap();
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
pub use ostd::arch::console;
|
||||
use ostd::mm::VmReader;
|
||||
use spin::Once;
|
||||
|
||||
|
Reference in New Issue
Block a user