[boot] Add initial stubs for loading kernel ELF

This commit is contained in:
Justin C. Miller
2020-05-02 23:58:41 -07:00
parent ec794f4f99
commit f78a99927a
7 changed files with 68 additions and 314 deletions

View File

@@ -13,7 +13,10 @@ inline constexpr size_t bytes_to_pages(size_t bytes) {
return ((bytes - 1) / page_size) + 1;
}
void init_pointer_fixup(uefi::boot_services *bs, uefi::runtime_services *rs);
void init_pointer_fixup(
uefi::boot_services *bs,
uefi::runtime_services *rs);
void mark_pointer_fixup(void **p);
kernel::args::header * allocate_args_structure(uefi::boot_services *bs, size_t max_modules);