diff options
| author | hachem <im@hachem.wtf> | 2026-09-25 21:21:09 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-25 21:21:09 +0200 |
| commit | 09982d80c45805715984cc1cae96c37e4fc148c3 (patch) | |
| tree | f711d6e7f4d4cb2d4dcb555d6a139aae343d7334 /boot/port.zig | |
| parent | fd3f51eecaecc12806a573c38263df1de43ee8c2 (diff) | |
feat: scheduler + cleanup
Diffstat (limited to 'boot/port.zig')
| -rw-r--r-- | boot/port.zig | 8 |
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); -} |
