PatchworkOS  c9fea19
A non-POSIX operating system.
Loading...
Searching...
No Matches
Boot Information

Boot information. More...

Collaboration diagram for Boot Information:

Detailed Description

Boot information.

The boot information structure is used to pass information from the bootloader to the kernel, such as memory map, or rsdp.

Data Structures

struct  boot_gop_t
 
struct  boot_memory_map_t
 
struct  boot_file_t
 
struct  boot_dir_t
 
struct  boot_disk_t
 
struct  boot_kernel_t
 
struct  boot_memory_t
 
struct  boot_info_t
 

Macros

#define BOOT_MEMORY_MAP_GET_DESCRIPTOR(map, index)    (EFI_MEMORY_DESCRIPTOR*)((uint64_t)(map)->descriptors + ((index) * (map)->descSize))
 

Typedefs

typedef struct boot_info boot_info_t
 

Functions

static bool boot_is_mem_ram (EFI_MEMORY_TYPE type)
 

Macro Definition Documentation

◆ BOOT_MEMORY_MAP_GET_DESCRIPTOR

#define BOOT_MEMORY_MAP_GET_DESCRIPTOR (   map,
  index 
)     (EFI_MEMORY_DESCRIPTOR*)((uint64_t)(map)->descriptors + ((index) * (map)->descSize))

Definition at line 52 of file boot_info.h.

Typedef Documentation

◆ boot_info_t

typedef struct boot_info boot_info_t

Definition at line 85 of file boot_info.h.

Function Documentation

◆ boot_is_mem_ram()

static bool boot_is_mem_ram ( EFI_MEMORY_TYPE  type)
static

Definition at line 24 of file boot_info.h.

Here is the caller graph for this function: