![]() |
MOS Source Code
|
#include "mos/filesystem/sysfs/sysfs.hpp"#include "mos/filesystem/sysfs/sysfs_autoinit.hpp"#include "mos/mm/mm.hpp"#include "mos/mm/paging/paging.hpp"#include "mos/mm/physical/pmm.hpp"#include "mos/syslog/debug.hpp"#include "mos/syslog/syslog.hpp"#include "mos/tasks/elf.hpp"#include <mos/allocator.hpp>#include <mos/device/console.hpp>#include <mos/filesystem/vfs.hpp>#include <mos/interrupt/ipi.hpp>#include <mos/ipc/ipc.hpp>#include <mos/lib/cmdline.hpp>#include <mos/list.hpp>#include <mos/misc/cmdline.hpp>#include <mos/misc/setup.hpp>#include <mos/platform/platform.hpp>#include <mos/shared_ptr.hpp>#include <mos/syslog/printk.hpp>#include <mos/tasks/kthread.hpp>#include <mos/tasks/schedule.hpp>#include <mos/type_utils.hpp>#include <mos_stdio.hpp>#include <mos_stdlib.hpp>#include <mos_string.hpp>Go to the source code of this file.
Functions | |
| static bool | init_sysfs_argv (sysfs_file_t *file) |
| SYSFS_AUTOREGISTER (kernel, kernel_sysfs_items) | |
| MOS_SETUP ("init", setup_init_path) | |
| MOS_SETUP ("init_args", setup_init_args) | |
| static void | setup_sane_environment () |
| void | mos_start_kernel (void) |
Variables | |
| MMContext | mos_kernel_mm |
| mos::vector< mos::string > | init_args |
| static sysfs_item_t | kernel_sysfs_items [] |
|
static |
| SYSFS_AUTOREGISTER | ( | kernel | , |
| kernel_sysfs_items | ) |
| MOS_SETUP | ( | "init_args" | , |
| setup_init_args | ) |
|
static |
Definition at line 92 of file kmain.cpp.
Referenced by mos_start_kernel().
Definition at line 130 of file kmain.cpp.
Referenced by limine_entry().
| MMContext mos_kernel_mm |
Definition at line 31 of file kmain.cpp.
Referenced by setup_sane_environment().
| mos::vector<mos::string> init_args |
Definition at line 33 of file kmain.cpp.
Referenced by init_sysfs_argv(), MOS_SETUP(), MOS_SETUP(), and mos_start_kernel().
|
static |
Definition at line 52 of file kmain.cpp.
Referenced by SYSFS_AUTOREGISTER().