/// Write a single byte to the output channel
Write a single byte to the output channel
Write a single byte to the output channel
pub unsafe fn putb(b: u8) {
    let port = SERIAL_PRINT_PORT.load(Ordering::Relaxed);
    // Wait for the serial SERIAL_PRINT_PORT's FIFO to be ready
    while (io::inb(port + 5) & 0b0010_0000) == 0 {}
    // Send the byte out the serial SERIAL_PRINT_PORT
    io::outb(port, b);
}
pub unsafe fn putb ( b : u8 ) { let port = SERIAL_PRINT_PORT . load ( Ordering :: Relaxed ) ; // Wait for the serial SERIAL_PRINT_PORT's FIFO to be ready while ( io :: inb ( port + 5 ) & 0b0010_0000 ) == 0 { } // Send the byte out the serial SERIAL_PRINT_PORT io :: outb ( port , b ) ; }
Write a single byte to the output channel
Write a single byte to the output channel
b
u8