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

@@ -18,8 +18,10 @@ public:
ioapic * get_ioapic(int i);
private:
static const int max_ioapics = 16;
lapic *m_lapic;
ioapic *m_ioapics;
ioapic *m_ioapics[16];
int m_num_ioapics;
void load_xsdt(const acpi_xsdt *xsdt);