issues
search
mayant15
/
bottleos
A bare bones OS kernel made for educational purposes
MIT License
1
stars
1
forks
source link
Handle hardware interrupts
#1
Closed
mayant15
closed
3 years ago
mayant15
commented
3 years ago
Problem:
The kernel doesn't handle hardware interrupts
Some IRQs are mapped by default to positions in the IDT that are already taken, which calls wrong ISRs.
Proposed Solution:
Hardware interrupts are handled through calls made in response to IRQs. These should be implemented just like existing ISRs for exceptions.
Tell the PIC to remap IRQs based on the current IDT structure.
References:
Botched interrupts causing triple faults
Bran's Kernel Dev Tutorial
OSDev Interrupts Tutorial
Problem:
Proposed Solution:
References: