PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
boot_info.c File Reference
#include <kernel/init/boot_info.h>
#include <kernel/log/log.h>
#include <kernel/log/panic.h>
#include <kernel/mem/paging_types.h>
#include <kernel/mem/pmm.h>
#include <boot/boot_info.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for boot_info.c:

Go to the source code of this file.

Functions

boot_info_tboot_info_get (void)
 Gets the boot info structure.
 
static void boot_dir_to_higher_half (boot_dir_t *dir)
 
void boot_info_to_higher_half (void)
 Offset all pointers in the boot info structure to the higher half.
 
void boot_info_free (void)
 Frees the boot info structure and all its associated data.
 

Variables

boot_info_tbootInfo = NULL
 

Function Documentation

◆ boot_dir_to_higher_half()

static void boot_dir_to_higher_half ( boot_dir_t dir)
static

Definition at line 21 of file boot_info.c.

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

Variable Documentation

◆ bootInfo

boot_info_t* bootInfo = NULL

Definition at line 14 of file boot_info.c.