[boot] Add explicit memory map pointer to args

The bootloader was previously just passing the memory map as a module,
but the memory map is important enough to want a direct pointer, instead
of having to search the modules.
This commit is contained in:
Justin C. Miller
2020-05-23 12:37:39 -07:00
parent ce0bcbd3b6
commit 75641a4394
2 changed files with 8 additions and 0 deletions

View File

@@ -80,6 +80,9 @@ struct header {
uint32_t num_modules;
module *modules;
mem_entry *mem_map;
size_t num_map_entries;
void *runtime_services;
void *acpi_table;
}