Move PCI initialization after ACPI/APIC/RTC

This commit is contained in:
Josh Holtrop 2023-09-17 11:00:48 -04:00
parent f79b0098c5
commit e8978c73f2

View File

@ -72,11 +72,11 @@ void hulk_start()
Klog.writefln("Welcome to HULK, the HOS UltraLight Kernel!"); Klog.writefln("Welcome to HULK, the HOS UltraLight Kernel!");
Hurl.initialize(&hulk_header); Hurl.initialize(&hulk_header);
Pci.initialize();
Pic.initialize(); Pic.initialize();
Acpi.initialize(hulk_header.bootinfo.acpi_xsdt_phys); Acpi.initialize(hulk_header.bootinfo.acpi_xsdt_phys);
Apic.initialize(); Apic.initialize();
Rtc.initialize(); Rtc.initialize();
Pci.initialize();
sti(); sti();
for (;;) for (;;)