forked from PoliEcho-holding-org/kern
Minor change
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ void isr_sendEOI(uint8_t irq) {
|
|||||||
int isr_handleInterrupt(struct isr_intFrame iframe) {
|
int isr_handleInterrupt(struct isr_intFrame iframe) {
|
||||||
if (iframe.interrupt < 32) {
|
if (iframe.interrupt < 32) {
|
||||||
// ISRs 0-31 - Exceptions
|
// ISRs 0-31 - Exceptions
|
||||||
panic(exceptions[iframe.interrupt]);
|
panic(exceptions[iframe.error]);
|
||||||
} else if (iframe.interrupt >= 32 && iframe.interrupt < 48) {
|
} else if (iframe.interrupt >= 32 && iframe.interrupt < 48) {
|
||||||
// ISRs 32-47 - Hardware interrupts
|
// ISRs 32-47 - Hardware interrupts
|
||||||
uint8_t irq = iframe.interrupt - 32;
|
uint8_t irq = iframe.interrupt - 32;
|
||||||
|
|||||||
Reference in New Issue
Block a user