[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user