Add initial IO APIC support

- IO APIC vector mapping
- Legacy PIC disable
- Real interrupts happening
This commit is contained in:
Justin C. Miller
2018-05-02 16:46:37 -07:00
parent 428e4563d0
commit 59700b07db
11 changed files with 317 additions and 62 deletions

View File

@@ -14,9 +14,11 @@ enum class isr : uint8_t
#undef EISR
#undef ISR
max
_zero = 0
};
isr operator+(const isr &lhs, int rhs);
extern "C" {
void interrupts_enable();
void interrupts_disable();