feat: serial device interfacing
[lunaix-os.git] / lunaix-os / kernel / proc0.c
index c7501af0e733c0769a23cd95fd2267d0dbfe9bd5..93cc0207ef4819c648908eb2337e7d746b0ccee3 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <sdbg/protocol.h>
 
-#include <hal/pci.h>
-
 #include <klibc/string.h>
 
 LOG_MODULE("PROC0")
@@ -98,17 +96,12 @@ init_platform()
             __VERSION__,
             __TIME__);
 
-    twifs_register_plugins();
+    device_poststage();
 
-    /*
-     * all device registering and loading must defered to here!
-     * due to limited stack size and partial scheduling context
-     */
-    pci_load_devices();
+    twifs_register_plugins();
 
-    // debugger
-    serial_init();
-    sdbg_init();
+    // FIXME Re-design needed!!
+    // sdbg_init();
 
     // console
     console_start_flushing();