hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/boot/pic.zig
diff options
context:
space:
mode:
Diffstat (limited to 'boot/pic.zig')
-rw-r--r--boot/pic.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/pic.zig b/boot/pic.zig
index 365fa2f..b2326e4 100644
--- a/boot/pic.zig
+++ b/boot/pic.zig
@@ -17,6 +17,6 @@ pub const SLAVE_OFFSET: u8 = 0x28; // irq8..15 -> vectors 0x28..0x2f
// tell the pic were done. the slaves interrupts also need the master eoid
// since they arrive via the cascade
pub fn eoi(irq: u4) void {
- if (irq >= 8) port.outb(SLAVE_CMD, EOI);
+ if (irq >= 8) port.outb(SLAVE_CMD, EOI); // irq 8..15 live on the slave pic
port.outb(MASTER_CMD, EOI);
}