X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/7c7b5f05d39b7739d990f71256a2267ec67a6913..f6ab9c9ababa2cf6e5c723b83ffb9362094054e8:/lunaix-os/kernel/kinit.c diff --git a/lunaix-os/kernel/kinit.c b/lunaix-os/kernel/kinit.c index 6b6e5e4..0460544 100644 --- a/lunaix-os/kernel/kinit.c +++ b/lunaix-os/kernel/kinit.c @@ -64,7 +64,6 @@ kernel_bootstrap(struct boot_handoff* bhctx) /* Let's get fs online as soon as possible, as things rely on them */ vfs_init(); fsm_init(); - input_init(); /* Get intc online, this is the cornerstone when initing devices */ intc_init(); @@ -73,6 +72,7 @@ kernel_bootstrap(struct boot_handoff* bhctx) clock_init(); timer_init(); + input_init(); block_init(); /* the bare metal are now happy, let's get software over with */ @@ -89,7 +89,7 @@ kernel_bootstrap(struct boot_handoff* bhctx) vfs_mount("/task", "taskfs", NULL, MNT_RO); lxconsole_spawn_ttydev(); - device_init_builtin(); + device_install_pseudo(); /* Finish up bootstrapping sequence, we are ready to spawn the root process * and start geting into uspace