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:
8infy
2024-09-01 19:34:21 +03:00
parent d3f3ccbb11
commit 0ecbbff4d1
+1 -1
View File
@@ -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();