X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/b60166b327a9108b07e3069fa6568a451529ffd9..6c506d8916fb114675e93d0e2cb20831d4022294:/lunaix-os/kernel/lunad.c diff --git a/lunaix-os/kernel/lunad.c b/lunaix-os/kernel/lunad.c index 99cd066..1f2fb95 100644 --- a/lunaix-os/kernel/lunad.c +++ b/lunaix-os/kernel/lunad.c @@ -57,7 +57,7 @@ static void lunad_do_usr() { // No, these are not preemptive cpu_disable_interrupt(); - + if (!mount_bootmedium() || !exec_initd()) { fail("failed to initd"); } @@ -74,12 +74,6 @@ lunad_do_usr() { void _preemptible lunad_main() { - /* - * We must defer boot code/data cleaning to here, after we successfully - * escape that area - */ - boot_cleanup(); - spawn_kthread((ptr_t)init_platform); /*