kernel: add boot argument parsing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <socks/pmap.h>
|
||||
#include <socks/device.h>
|
||||
#include <socks/arg.h>
|
||||
#include <socks/tty.h>
|
||||
#include <socks/kext.h>
|
||||
#include <socks/clock.h>
|
||||
@@ -104,6 +105,8 @@ int ml_init(uintptr_t arg)
|
||||
{
|
||||
multiboot_info_t *mb = (multiboot_info_t *)arg;
|
||||
|
||||
parse_cmdline(PTR32(mb->cmdline));
|
||||
|
||||
init_bootfb(mb);
|
||||
|
||||
bootstrap_cpu_init();
|
||||
|
||||
Reference in New Issue
Block a user