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:
parent
9396108034
commit
87d41bdca4
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue