docs: documented 'io_wait'

This commit is contained in:
antifallobst 2023-02-14 22:37:01 +01:00
parent c9d1454efc
commit e28a2eb2ff
1 changed files with 4 additions and 0 deletions

View File

@ -535,6 +535,10 @@ This is a wrapper around the assembly `outb` instruction.
Reads one byte from **_port_** and returns it. Reads one byte from **_port_** and returns it.
This is a wrapper around the assembly `inb` instruction. This is a wrapper around the assembly `inb` instruction.
#### `io_wait()` - function (void)
Waits one IO cycle.
Should be used to give the devices enough time to respond.
### logger.h ### logger.h
Functionalities to write logs to QEMU's serial port. Functionalities to write logs to QEMU's serial port.