audk/EmbeddedPkg/Library
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
..
AcpiLib EmbeddedPkg: Improve LocateAndInstallAcpiFromFvConditional 2024-08-30 14:03:51 +00:00
AndroidBootImgLib EmbeddedPkg: add missing BaseLib/BaseMemoryLib declarations 2024-09-27 12:42:07 +00:00
CoherentDmaLib EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DebugAgentTimerLibNull EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
DxeDtPlatformDtbLoaderLibDefault EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FdtLib EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
GdbSerialDebugPortLib EmbeddedPkg/GdbSerialDebugPortLib: fix compile warning 2022-09-05 13:52:51 +00:00
GdbSerialLib EmbeddedPkg: Remove duplicated words 2022-09-05 13:52:51 +00:00
NonCoherentDmaLib EmbeddedPkg: NonCoherentDmaLib: Set EFI_MEMORY_XP Capability on DMA Buffer 2024-07-29 22:42:41 +00:00
NorFlashInfoLib EmbeddedPkg/NorFlashInfoLib: Update norflash device list 2023-10-20 12:40:41 +00:00
NvVarStoreFormattedLib EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS 2019-04-29 15:34:16 +02:00
PlatformHasAcpiLib EmbeddedPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:57:58 -07:00
PrePiExtractGuidedSectionLib EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PrePiHobLib EmbeddedPkg/PrePiHobLib: Remove Non-RT Types from Mem Type Info HOB 2024-11-11 16:45:29 +00:00
PrePiLib EmbeddedPkg/PrePiLib: Drop unused PCD PcdPrePiCpuIoSize 2023-02-04 10:55:05 +00:00
PrePiMemoryAllocationLib EmbeddedPkg: compiler error due to arithmetic operation on void pointer 2024-02-09 18:12:47 +00:00
TemplateRealTimeClockLib EmbeddedPkg/TemplateRealTimeClockLib: drop LibRtcVirtualNotifyEvent 2023-10-18 16:15:41 +00:00
TimeBaseLib EmbeddedPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VirtualRealTimeClockLib EmbeddedPkg: Fix some spelling mistakes found by cspell 2024-08-01 19:53:47 +00:00