lunad_do_usr() {
// No, these are not preemptive
cpu_disable_interrupt();
-
+
if (!mount_bootmedium() || !exec_initd()) {
fail("failed to initd");
}
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);
/*