X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8fce4520de1f257819b16f9253fa28dcdae743f4..2236410f4582ab45ae8c384dd6eeeef5d10aab15:/lunaix-os/kernel/proc0.c?ds=sidebyside diff --git a/lunaix-os/kernel/proc0.c b/lunaix-os/kernel/proc0.c index 93cc020..31a100d 100644 --- a/lunaix-os/kernel/proc0.c +++ b/lunaix-os/kernel/proc0.c @@ -32,12 +32,12 @@ mount_bootmedium() int errno = 0; struct device* dev = probe_boot_medium(); if (!dev) { - kprintf(KERROR "fail to acquire device. (%d)", errno); + ERROR("fail to acquire device. (%d)", errno); return 0; } if ((errno = vfs_mount("/mnt/lunaix-os", "iso9660", dev, 0))) { - kprintf(KERROR "fail to mount boot medium. (%d)", errno); + ERROR("fail to mount boot medium. (%d)", errno); return 0; } @@ -56,7 +56,7 @@ exec_initd() fail("should not reach"); fail: - kprintf(KERROR "fail to load initd. (%d)", errno); + ERROR("fail to load initd. (%d)", errno); return 0; } @@ -92,11 +92,7 @@ __proc0() void init_platform() { - kprintf(KINFO "\033[11;0mLunaixOS (gcc v%s, %s)\033[39;49m\n", - __VERSION__, - __TIME__); - - device_poststage(); + device_postboot_load(); twifs_register_plugins();