kernel: add header files

This commit is contained in:
2026-02-19 19:13:44 +00:00
parent f2e128c57e
commit 85006411bd
42 changed files with 3335 additions and 0 deletions

14
include/kernel/arg.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef KERNEL_ARG_H_
#define KERNEL_ARG_H_
#include <stdbool.h>
#include <mango/status.h>
#define CMDLINE_MAX 4096
extern kern_status_t parse_cmdline(const char *cmdline);
extern const char *arg_value(const char *arg_name);
extern bool arg_is_set(const char *arg_name);
#endif