mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Add initial PCIe enumeration
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
|
||||
struct acpi_xsdt;
|
||||
struct acpi_apic;
|
||||
struct acpi_mcfg;
|
||||
|
||||
class lapic;
|
||||
class ioapic;
|
||||
struct pci_group;
|
||||
|
||||
class device_manager
|
||||
{
|
||||
@@ -18,12 +20,16 @@ public:
|
||||
ioapic * get_ioapic(int i);
|
||||
|
||||
private:
|
||||
static const int max_ioapics = 16;
|
||||
|
||||
lapic *m_lapic;
|
||||
|
||||
static const int max_ioapics = 16;
|
||||
ioapic *m_ioapics[16];
|
||||
int m_num_ioapics;
|
||||
|
||||
pci_group *m_pci;
|
||||
int m_num_pci_groups;
|
||||
|
||||
void load_xsdt(const acpi_xsdt *xsdt);
|
||||
void load_apic(const acpi_apic *apic);
|
||||
void load_mcfg(const acpi_mcfg *mcfg);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user