PatchworkOS
Loading...
Searching...
No Matches
boot_kernel_t Struct Reference

#include <boot_info.h>

Data Fields

elf_hdr_t header
 
elf_phdr_tphdrs
 
elf_shdr_tshdrs
 
uint32_t shdrCount
 
elf_sym_tsymbols
 
uint32_t symbolCount
 
char * stringTable
 
uint64_t stringTableSize
 
uintptr_t physStart
 
uintptr_t virtStart
 
void(* entry )(boot_info_t *)
 
uint64_t size
 

Detailed Description

Definition at line 78 of file boot_info.h.

Field Documentation

◆ entry

void(* boot_kernel_t::entry) (boot_info_t *)

Definition at line 90 of file boot_info.h.

Referenced by efi_main(), and kernel_load().

◆ header

elf_hdr_t boot_kernel_t::header

◆ phdrs

elf_phdr_t* boot_kernel_t::phdrs

Definition at line 81 of file boot_info.h.

Referenced by kernel_load().

◆ physStart

uintptr_t boot_kernel_t::physStart

Definition at line 88 of file boot_info.h.

Referenced by kernel_load(), mem_page_table_init(), and vmm_init().

◆ shdrCount

uint32_t boot_kernel_t::shdrCount

Definition at line 83 of file boot_info.h.

Referenced by find_section_by_type(), load_section_headers(), and load_symbol_table().

◆ shdrs

elf_shdr_t* boot_kernel_t::shdrs

◆ size

uint64_t boot_kernel_t::size

Definition at line 91 of file boot_info.h.

Referenced by kernel_load(), mem_page_table_init(), and vmm_init().

◆ stringTable

char* boot_kernel_t::stringTable

Definition at line 86 of file boot_info.h.

Referenced by kernel_load(), load_symbol_table(), and panic_symbols_init().

◆ stringTableSize

uint64_t boot_kernel_t::stringTableSize

Definition at line 87 of file boot_info.h.

Referenced by load_symbol_table(), and panic_symbols_init().

◆ symbolCount

uint32_t boot_kernel_t::symbolCount

Definition at line 85 of file boot_info.h.

Referenced by kernel_load(), load_symbol_table(), and panic_symbols_init().

◆ symbols

elf_sym_t* boot_kernel_t::symbols

Definition at line 84 of file boot_info.h.

Referenced by kernel_load(), load_symbol_table(), and panic_symbols_init().

◆ virtStart

uintptr_t boot_kernel_t::virtStart

Definition at line 89 of file boot_info.h.

Referenced by kernel_load(), mem_page_table_init(), and vmm_init().


The documentation for this struct was generated from the following file: