1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09: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
Notes: sideshowbarker 2024-07-19 18:47:42 +09:00

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()