ableos/ableos/src/arch/aarch64/drivers/serial.rs

14 lines
320 B
Rust
Raw Normal View History

2021-11-21 08:13:50 +00:00
/// Prints to the host through the serial interface.
2021-11-16 06:09:27 +00:00
#[macro_export]
macro_rules! serial_print {
($($arg:tt)*) => {};
}
/// Prints to the host through the serial interface, appending a newline.
#[macro_export]
macro_rules! serial_println {
() => {};
($fmt:expr) => {};
($fmt:expr, $($arg:tt)*) => {};
}