From cc8768d33a6ff6cc64306d01679a10c3a1847736 Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 10 Oct 2026 10:31:01 +0200 Subject: chore: small refactor --- boot/pic.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/pic.zig') 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); } -- cgit v1.3