mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 08:54:31 -08:00
[boot] Build the kernel mem map from the UEFI one
Created kernel args memory map structure, looping through UEFI's memory map to copy and condense. Tags: boot memory
This commit is contained in:
@@ -56,7 +56,8 @@ void mark_pointer_fixup(void **p);
|
||||
|
||||
/// Struct that represents UEFI's memory map. Contains a pointer to the map data
|
||||
/// as well as the data on how to read it.
|
||||
struct efi_mem_map {
|
||||
struct efi_mem_map
|
||||
{
|
||||
using desc = uefi::memory_descriptor;
|
||||
using iterator = offset_iterator<desc>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user