PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
init.c File Reference
#include <kernel/init/init.h>
#include <kernel/cpu/cpu.h>
#include <kernel/cpu/gdt.h>
#include <kernel/cpu/idt.h>
#include <kernel/cpu/ipi.h>
#include <kernel/cpu/irq.h>
#include <kernel/cpu/syscall.h>
#include <kernel/drivers/pic.h>
#include <kernel/fs/ramfs.h>
#include <kernel/fs/sysfs.h>
#include <kernel/fs/vfs.h>
#include <kernel/init/boot_info.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/module/module.h>
#include <kernel/module/symbol.h>
#include <kernel/sched/loader.h>
#include <kernel/proc/reaper.h>
#include <kernel/proc/process.h>
#include <kernel/sched/sched.h>
#include <kernel/sched/thread.h>
#include <kernel/sched/timer.h>
#include <kernel/sched/wait.h>
#include <boot/boot_info.h>
#include <libstd/_internal/init.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
Include dependency graph for init.c:

Go to the source code of this file.

Functions

static cpu_t bootstrapCpu ALIGNED (PAGE_SIZE)
 
void init_early (void)
 Early kernel initialization.
 
static void init_finalize (void)
 
static void init_process_spawn (void)
 
void kmain (void)
 Kernel main function.
 

Function Documentation

◆ ALIGNED()

static cpu_t bootstrapCpu ALIGNED ( PAGE_SIZE  )
static

◆ init_finalize()

static void init_finalize ( void  )
static

Definition at line 80 of file init.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_process_spawn()

static void init_process_spawn ( void  )
inlinestatic

Definition at line 145 of file init.c.

Here is the call graph for this function:
Here is the caller graph for this function: