Expand description
§Print Macros and UART Handling
This module provides functionality for formatted printing through a UART device.
It defines the core printing macros (print!
and println!
) used throughout the kernel,
along with the necessary infrastructure to handle UART output.
§Examples
println!("Hello, world!");
println!("Value: {}", 42);
print!("No newline here");
§Implementation Details
The module initializes a UART writer lazily when first used and provides the
core implementation of the Write
trait for the UART device. It automatically
handles CR+LF conversion for newlines.