You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To save your system Memory Map you need to call boot_services.memory_map_size() and allocate. I don't think doing this is possible without heap allocations? If that's the case why not just make MemoryMap own a vector, make memory_map_size() private (to increase usability) and remove the lifetime on MemoryMap?
I don't think there would be any downsides to doing that. I don't have a lot of experience in either UEFI or OSdev so feel free to correct me if I'm wrong
The text was updated successfully, but these errors were encountered:
To save your system Memory Map you need to call
boot_services.memory_map_size()
and allocate. I don't think doing this is possible without heap allocations? If that's the case why not just make MemoryMap own a vector, make memory_map_size() private (to increase usability) and remove the lifetime on MemoryMap?I don't think there would be any downsides to doing that. I don't have a lot of experience in either UEFI or OSdev so feel free to correct me if I'm wrong
The text was updated successfully, but these errors were encountered: