![]() |
MOS Source Code
|
#include "mos/filesystem/sysfs/sysfs.hpp"
#include "mos/filesystem/sysfs/sysfs_autoinit.hpp"
#include "mos/lib/structures/list.hpp"
#include "mos/mm/mm.hpp"
#include "mos/mm/paging/paging.hpp"
#include "mos/mm/physical/pmm.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_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) | |
void | mos_start_kernel (void) |
Variables | ||
static MMContext | mos_kernel_mm | |
struct { | ||
size_t argc = 0 | ||
const char ** argv = nullptr | ||
} | init_args | |
static sysfs_item_t | kernel_sysfs_items [] | |
|
static |
SYSFS_AUTOREGISTER | ( | kernel | , |
kernel_sysfs_items | ) |
MOS_SETUP | ( | "init" | , |
setup_init_path | ) |
MOS_SETUP | ( | "init_args" | , |
setup_init_args | ) |
Definition at line 92 of file kmain.cpp.
Referenced by limine_entry().
|
static |
Definition at line 29 of file kmain.cpp.
Referenced by mos_start_kernel().
size_t argc = 0 |
Definition at line 33 of file kmain.cpp.
Referenced by app_main(), elf_fill_process(), main(), main(), mos_test_engine_setup_skip_prefix_list(), platform_context_setup_main_thread(), and process_do_execveat().
const char** argv = nullptr |
Definition at line 34 of file kmain.cpp.
Referenced by app_main(), cmdline_dynamic_array_insert(), elf_create_process(), elf_fill_process(), execveat(), impl_syscall_execveat(), impl_syscall_spawn(), main(), main(), main(), MOS_STATIC_ASSERT(), platform_context_setup_main_thread(), process_do_execveat(), syscall_execveat(), and syscall_spawn().
struct { ... } init_args |
Referenced by init_sysfs_argv(), MOS_SETUP(), MOS_SETUP(), and mos_start_kernel().
|
static |
Definition at line 54 of file kmain.cpp.
Referenced by SYSFS_AUTOREGISTER().