Expand description
Kernel printing macros.
Provides print! and println! macros that delegate to the
architecture-specific serial/UART output. On x86_64 this writes to
the VGA text buffer, on AArch64 to the PL011 UART, and on RISC-V
to the 16550 UART via SBI.
Also provides kprintln! / kprint! / kprint_num! macros that
work uniformly across all architectures, including AArch64 where
the standard println! is a no-op due to an LLVM loop-compilation
bug. The kprintln! macro handles arch dispatch internally,
eliminating the need for per-call-site cfg(target_arch) blocks.