1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

If an interrupt comes from the slave PIC, both PICs need an EOI.

This commit is contained in:
Andreas Kling 2018-10-16 11:05:29 +02:00
parent 9396108034
commit 87d41bdca4

View file

@ -52,8 +52,7 @@ void eoi(BYTE irq)
{
if (irq & 8)
IO::out8(PIC1_CTL, 0x20);
else
IO::out8(PIC0_CTL, 0x20);
IO::out8(PIC0_CTL, 0x20);
}
void initialize()