|
Crinit -- Configurable Rootfs Init
|
Implementation of functions related to working with the Kernel command line. More...
#include "kcmdline.h"#include <stdlib.h>#include "confmap.h"#include "lexers.h"#include "logio.h"
Functions | |
| int | crinitKernelCmdlineParse (const char *cmdlinePath) |
Implementation of functions related to working with the Kernel command line.
| int crinitKernelCmdlineParse | ( | const char * | cmdlinePath | ) |
Parses and handles crinit-specific options in the Kernel command line.
Kernel command line must be accessible as a file at cmdlinePath. If the function encounters a setting from crinitKCmdlineConfigMap, it will call the associated handler.
| cmdlinePath | Where to read the Kernel command line from. This should be CRINIT_KCMDLINE_PATH_DEFAULT. |