PatchworkOS
Loading...
Searching...
No Matches
init.c File Reference
#include <kernel/init/init.h>
#include <kernel/acpi/acpi.h>
#include <kernel/acpi/aml/aml.h>
#include <kernel/acpi/devices.h>
#include <kernel/acpi/tables.h>
#include <kernel/cpu/gdt.h>
#include <kernel/cpu/idt.h>
#include <kernel/cpu/smp.h>
#include <kernel/cpu/syscalls.h>
#include <kernel/drivers/const.h>
#include <kernel/drivers/gop.h>
#include <kernel/drivers/ps2/ps2.h>
#include <kernel/fs/ramfs.h>
#include <kernel/fs/sysfs.h>
#include <kernel/fs/vfs.h>
#include <kernel/ipc/pipe.h>
#include <kernel/ipc/shmem.h>
#include <kernel/log/log.h>
#include <kernel/log/log_file.h>
#include <kernel/log/panic.h>
#include <kernel/mem/pmm.h>
#include <kernel/mem/vmm.h>
#include <kernel/net/net.h>
#include <kernel/proc/process.h>
#include <kernel/sched/loader.h>
#include <kernel/sched/sched.h>
#include <kernel/sched/timer.h>
#include <kernel/sched/wait.h>
#include <kernel/module/module.h>
#include <boot/boot_info.h>
#include <libstd/_internal/init.h>
#include <stdlib.h>
#include <strings.h>

Go to the source code of this file.

Functions

void init_early (const boot_info_t *bootInfo)
 Early kernel initialization.
 
static void init_free_loader_data (const boot_memory_map_t *map)
 
static void init_finalize (const boot_info_t *bootInfo)
 
static void init_process_spawn (void)
 
void kmain (const boot_info_t *bootInfo)
 Kernel main function.
 

Function Documentation

◆ init_finalize()

◆ init_free_loader_data()

static void init_free_loader_data ( const boot_memory_map_t map)
static

◆ init_process_spawn()

static void init_process_spawn ( void  )
inlinestatic