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:
parent
9396108034
commit
87d41bdca4
Notes:
sideshowbarker
2024-07-19 18:47:42 +09:00
Author: https://github.com/awesomekling
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