pub unsafe fn inb(port: u16) -> u8Expand description
Read a byte from an x86_64 I/O port.
§Safety
The caller must ensure port is a valid I/O port address for the
intended device. Reading from an incorrect port may return garbage
or trigger hardware side effects.