ArvernOS
Loading...
Searching...
No Matches
boot.h File Reference
#include <stdint.h>
Include dependency graph for boot.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  boot_info_t
 Facts about the current boot, as discovered by the arch-specific kmain(). More...

Functions

void boot_info_set (const boot_info_t *info)
const boot_info_t * boot_info_get ()

Detailed Description

Boot information gathered by the architecture-specific boot code.

Function Documentation

◆ boot_info_get()

const boot_info_t * boot_info_get ( )

Returns the boot information collected so far.

Returns
the current boot information

◆ boot_info_set()

void boot_info_set ( const boot_info_t * info)

Records the boot information.

Called by kmain_start() once the heap is available.

Parameters
infothe boot information to set