hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/boot/port.zig
diff options
context:
space:
mode:
Diffstat (limited to 'boot/port.zig')
-rw-r--r--boot/port.zig8
1 files changed, 1 insertions, 7 deletions
diff --git a/boot/port.zig b/boot/port.zig
index 05668d3..be760b1 100644
--- a/boot/port.zig
+++ b/boot/port.zig
@@ -1,4 +1,4 @@
-// x86 port I/O
+// x86 port i/o
//
// these are pretty important cause all drivers which rely
// on serial rely on these 2 instructions so
@@ -17,9 +17,3 @@ pub inline fn inb(port: u16) u8 {
: [port] "N{dx}" (port),
);
}
-
-// a throwaway write to an unused port, ~1us. some 8259s need a beat between
-// back-to-back command writes on slow hardware; harmless on QEMU.
-pub inline fn wait() void {
- outb(0x80, 0);
-}