mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 13:18:22 +00:00
kernel: initialize pci earlier
There's no reason to initialize PCI so late, and this will be needed by the following commits.
This commit is contained in:
@@ -66,6 +66,7 @@ void kernel_entry() {
|
||||
arch_apic_timerinit();
|
||||
sched_init();
|
||||
arch_smp_wakeup();
|
||||
pci_init();
|
||||
|
||||
vmmcache_init();
|
||||
|
||||
@@ -89,7 +90,6 @@ void kernel_entry() {
|
||||
block_init();
|
||||
pseudodevices_init();
|
||||
arch_e9_initdev();
|
||||
pci_init();
|
||||
keyboard_init();
|
||||
mouse_init();
|
||||
arch_ps2_init();
|
||||
|
||||
Reference in New Issue
Block a user