// SPDX-License-Identifier: MPL-2.0
//! The console I/O.
use fmt;
use Once;
use crate;
/// The primary serial port, which serves as an early console.
pub static SERIAL_PORT: =
initialized;
/// A serial port that is implemented via RISC-V SBI.
pub
/// Initializes the serial port.
pub