X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bef1210245bb3180a57f26405369654eaa477f63..1eeed1150149b63d6e49e033697454bc12b533b9:/lunaix-os/kernel/kinit.c diff --git a/lunaix-os/kernel/kinit.c b/lunaix-os/kernel/kinit.c index 5884e5b..a54b68a 100644 --- a/lunaix-os/kernel/kinit.c +++ b/lunaix-os/kernel/kinit.c @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include @@ -57,10 +56,11 @@ kernel_bootstrap(struct boot_handoff* bhctx) device_scan_drivers(); - // crt + invoke_init_function(on_earlyboot); + + // FIXME this goes to hal/gfxa tty_init(ioremap(0xB8000, PG_SIZE)); tty_set_theme(VGA_COLOR_WHITE, VGA_COLOR_BLACK); - lxconsole_init(); device_sysconf_load(); @@ -89,7 +89,7 @@ kernel_bootstrap(struct boot_handoff* bhctx) must_success(vfs_mount_root("ramfs", NULL)); must_success(vfs_mount("/dev", "devfs", NULL, 0)); - invoke_init_function(call_on_boot); + invoke_init_function(on_boot); must_success(vfs_unmount("/dev"));