From e28a2eb2ff0ac8f6ad15b84a974e85aa82b527f6 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Tue, 14 Feb 2023 22:37:01 +0100 Subject: [PATCH] docs: documented 'io_wait' --- .wiki/Kernel-documentation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.wiki/Kernel-documentation.md b/.wiki/Kernel-documentation.md index 3033063..19a42fa 100644 --- a/.wiki/Kernel-documentation.md +++ b/.wiki/Kernel-documentation.md @@ -535,6 +535,10 @@ This is a wrapper around the assembly `outb` instruction. Reads one byte from **_port_** and returns it. 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 Functionalities to write logs to QEMU's serial port.