Skip to main content

Module io

Module io 

Source
Expand description

Port I/O functions for x86_64 (inspired by Maestro OS)

These functions allow communication with hardware via I/O ports.

Functions§

inb
Read a byte from the specified port.
inl
Read a dword from the specified port.
inw
Read a word from the specified port.
io_wait
Short delay for I/O operations (port 0x80 trick)
outb
Write a byte to the specified port.
outl
Write a dword to the specified port.
outw
Write a word to the specified port.