From 09982d80c45805715984cc1cae96c37e4fc148c3 Mon Sep 17 00:00:00 2001 From: hachem Date: Fri, 25 Sep 2026 21:21:09 +0200 Subject: feat: scheduler + cleanup --- boot/port.zig | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'boot/port.zig') 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); -} -- cgit v1.3