PatchworkOS
966e257
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
boot_info.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
boot/boot_info.h
>
4
#include <
kernel/defs.h
>
5
6
/**
7
* @brief Kernel-side boot information handling.
8
* @defgroup kernel_init_boot_info Boot Information
9
* @ingroup kernel_init
10
*
11
* @{
12
*/
13
14
/**
15
* @brief Gets the boot info structure.
16
*
17
* @return The boot info structure.
18
*/
19
boot_info_t
*
boot_info_get
(
void
);
20
21
/**
22
* @brief Offset all pointers in the boot info structure to the higher half.
23
*/
24
void
boot_info_to_higher_half
(
void
);
25
26
/**
27
* @brief Frees the boot info structure and all its associated data.
28
*/
29
void
boot_info_free
(
void
);
30
31
/** @} */
boot_info.h
defs.h
boot_info_to_higher_half
void boot_info_to_higher_half(void)
Offset all pointers in the boot info structure to the higher half.
Definition
boot_info.c:68
boot_info_get
boot_info_t * boot_info_get(void)
Gets the boot info structure.
Definition
boot_info.c:16
boot_info_free
void boot_info_free(void)
Frees the boot info structure and all its associated data.
Definition
boot_info.c:87
boot_info_t
Definition
boot_info.h:100
include
kernel
init
boot_info.h
Generated on Mon Dec 15 2025 21:55:53 for PatchworkOS by
1.9.8