diff options
| author | Oliver Smith-Denny <osde@microsoft.com> | 2026-05-13 00:36:35 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-06-18 04:28:36 +0300 |
| commit | d93ad5f525e5a994a0b51fb46bea5fe8c0bbb98e (patch) | |
| tree | ee73c0fd58e9a7ab25e4d6b9d66a0b65e87b9422 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | a48fae661125042e16c8f7e082226ecbd9a29adb (diff) | |
| download | edk2-d93ad5f525e5a994a0b51fb46bea5fe8c0bbb98e.tar.xz | |
MdeModulePkg: Dxe Core: Allocate Memory Bins Contiguously
Currently, there is no guarantee that the memory bins will be
allocated contiguously. However, there are assumptions in the
code that bins are allocated contiguously, such as the GCD
init code requiring a free memory region be large enough for
a contiguous bin range on DXE Core init.
Ensuring contiguous bins also makes a cleaner model for the
bins and keeps the memory map in a more standard configuration
between different configurations, as platforms today can
pass a resource descriptor HOB to DXE core to describe the bin
range and this only supports a contiguous range.
This also sets up reusing the memory bin logic for PEI memory
bin support which will use the aforementioned resource descriptor
HOB to pass the bin range to DXE.
This commit updates CoreAddMemoryDescriptor() to
allocate a contiguous range.
Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions
