diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-10-24 19:08:03 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-11 16:45:29 +0000 |
commit | b904377d0d54a784f9a9348d05088afc80de5c54 (patch) | |
tree | 42ccd3bf92f14dd1635ce2bc5432303015551998 /MdeModulePkg/Application/VariableInfo/VariableInfoExtra.uni | |
parent | d1372720a83b83057a034a95ee1316078d05f51b (diff) | |
download | edk2-master.zip edk2-master.tar.gz edk2-master.tar.bz2 |
Removes the following types from the memory type information HOB
produced:
- `EfiBootServicesCode`
- `EfiBootServicesData`
- `EfiLoaderCode`
- `EfiLoaderData`
This follows the guidance in the whitepaper "A Tour Beyond BIOS
Memory Map and Practices in UEFI BIOS".
https://github.com/tianocore-docs/Docs/raw/master/White_Papers/A_Tour_Beyond_BIOS_Memory_Map_And_Practices_in_UEFI_BIOS_V2.pdf
"NOTE: We recommend a platform only define the ReservedMemory,
ACPINvs, ACPIReclaim, RuntimeCode, RuntimeData in Memory Type
Information table, because OSes only request these regions to be
consistent. There is no need to add BootServicesCode,
BootServicesData, LoaderCode, LoaderData in memory type information
table, because these regions will not be reserved during S4 resume."
Since these memory types are not tracked in memory type information
any longer it also reduces the number of resets that may need to
occur to update memory type buckets that are not needed.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Application/VariableInfo/VariableInfoExtra.uni')
0 files changed, 0 insertions, 0 deletions