X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1fe5f5eb5378a47bf0f3451762743c162e40faad..8fce4520de1f257819b16f9253fa28dcdae743f4:/lunaix-os/kernel/proc0.c diff --git a/lunaix-os/kernel/proc0.c b/lunaix-os/kernel/proc0.c index 64dbcd9..93cc020 100644 --- a/lunaix-os/kernel/proc0.c +++ b/lunaix-os/kernel/proc0.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include @@ -11,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -20,10 +18,6 @@ #include -#include -#include -#include - #include LOG_MODULE("PROC0") @@ -78,8 +72,8 @@ void __proc0() { /* - * We must defer boot code/data cleaning after we successfully escape that - * area + * We must defer boot code/data cleaning to here, after we successfully + * escape that area */ boot_cleanup(); @@ -102,18 +96,12 @@ init_platform() __VERSION__, __TIME__); - twifs_register_plugins(); - - /* we must start probing pci after all drivers are registered! */ - pci_load_devices(); + device_poststage(); - // debugger - serial_init(); - sdbg_init(); + twifs_register_plugins(); - // FIXME ps2 kbd is x86 PC specific, not here. - // peripherals & chipset features - ps2_kbd_init(); + // FIXME Re-design needed!! + // sdbg_init(); // console console_start_flushing();