X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1375eb51603466b723ab7dd1ca4194ee5d662f75..64e5fa9a495e388c922157b9a616204c299f5e05:/lunaix-os/kernel/boot_helper.c diff --git a/lunaix-os/kernel/boot_helper.c b/lunaix-os/kernel/boot_helper.c index 1383f60..d50e471 100644 --- a/lunaix-os/kernel/boot_helper.c +++ b/lunaix-os/kernel/boot_helper.c @@ -4,6 +4,7 @@ #include #include #include +#include #include /** @@ -88,4 +89,13 @@ boot_cleanup() vmm_del_mapping(VMS_SELF, (ptr_t)i); pmm_free_page(KERNEL_PID, (ptr_t)i); } +} + +void +boot_parse_cmdline(struct boot_handoff* bhctx) { + if (!bhctx->kexec.len) { + return; + } + + kcmd_parse_cmdline(bhctx->kexec.cmdline); } \ No newline at end of file