audk/EmbeddedPkg
Michael Kubacki b904377d0d EmbeddedPkg/PrePiHobLib: Remove Non-RT Types from Mem Type Info HOB
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>
2024-11-11 16:45:29 +00:00
..
Application EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Drivers EmbeddedPkg: add missing BaseLib/BaseMemoryLib declarations 2024-09-27 12:42:07 +00:00
EmbeddedMonotonicCounter EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
GdbStub EmbeddedPkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00
Include EmbeddedPkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00
Library EmbeddedPkg/PrePiHobLib: Remove Non-RT Types from Mem Type Info HOB 2024-11-11 16:45:29 +00:00
MetronomeDxe EmbeddedPkg/MetronomeDxe: Update outdated lower bound comment 2022-11-29 19:39:43 +00:00
RealTimeClockRuntimeDxe EmbeddedPkg: Align RealTimeClock function headers with return values 2024-02-09 22:16:32 +00:00
Scripts/LauterbachT32 EmbeddedPkg/Scripts/LauterbachT32: Fix EfiLoadDxe.cmm 2024-02-27 17:17:38 +00:00
SimpleTextInOutSerial EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Test/Mock EmbeddedPkg: Add DtPlatformLoaderLib gmock support 2024-01-03 13:43:18 +00:00
Universal/MmcDxe EmbeddedPkg: Remove non-needed MDEPKG_NDEBUG dependent code 2024-10-23 20:30:49 +00:00
EmbeddedPkg.ci.yaml EmbeddedPkg/.ci.yaml: add temporary workaround ECC exception 2024-07-02 13:08:04 +00:00
EmbeddedPkg.dec EmbeddedPkg: Retire EfiResetSystemLib and ResetRuntimeDxe 2024-07-31 10:53:32 +00:00
EmbeddedPkg.dsc EmbeddedPkg: Add MDEPKG_NDEBUG to RELEASE build 2024-10-23 20:30:49 +00:00