audk/ArmVirtPkg
Michael Kubacki d1372720a8 ArmVirtPkg/MemoryInitPei: Remove Non-RT Types from Mem Type Info HOB
Removes the following types from the memory type information HOBs
produced in the MemoryInitPei PEIM:

- `EfiBootServicesCode`
- `EfiBootServicesData`
- `EfiLoaderCode`
- `EfiLoaderData`

Our platform has a memory type information validation routine that
currently expects those types to be excluded as they would not impact
the UEFI memory map since they are not runtime memory types.

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
..
CloudHvAcpiPlatformDxe ArmVirtPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
CloudHvPlatformHasAcpiDtDxe ArmVirtPkg: can't find gUefiOvmfPkgTokenSpaceGuid 2023-03-28 16:27:06 +00:00
Include ArmVirtPkg: Move the FdtSerialPortAddressLib to OvmfPkg 2024-02-06 23:51:47 +08:00
KvmtoolCfgMgrDxe ArmVirtPkg: Kvmtool: Update Pci Config Space Info in Cfg Manager 2024-07-29 13:44:55 +00:00
KvmtoolPlatformDxe ArmVirtPkg: Dispatch variable service if variable emulation is enabled 2023-05-29 15:14:00 +00:00
Library ArmVirtPkg: add QemuVirtMemInfoLib missing dependency/includes 2024-09-27 12:42:07 +00:00
MemoryInitPei ArmVirtPkg/MemoryInitPei: Remove Non-RT Types from Mem Type Info HOB 2024-11-11 16:45:29 +00:00
PlatformCI ArmVirtPkg PlatformCI: Support virtio-rng-pci 2024-05-24 15:48:52 +00:00
PrePi MdePkg: Move AsmMacroIoLib*.h from ArmPkg 2024-09-12 19:36:59 +00:00
XenAcpiPlatformDxe ArmVirtPkg/XenAcpiPlatformDxe: Install FACS table from DT 2024-02-25 18:52:27 +00:00
XenPlatformHasAcpiDtDxe
XenioFdtDxe ArmVirtPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
ArmVirt.dsc.inc ArmVirtPkg: Correct PcdDxeNxMemoryProtectionPolicy comment 2024-09-26 13:46:45 +00:00
ArmVirtCloudHv.dsc ArmVirtPkg: Switch all PrePeiCore users to new Sec.inf 2024-08-01 14:55:03 +00:00
ArmVirtCloudHv.fdf ArmVirtPkg: Switch all PrePeiCore users to new Sec.inf 2024-08-01 14:55:03 +00:00
ArmVirtKvmTool.dsc ArmVirtPkg: KvmTool: Fix clang linker error 2024-10-30 17:37:55 +00:00
ArmVirtKvmTool.fdf ArmVirtPkg: Enable CpuMmio2Dxe 2024-02-06 23:51:47 +08:00
ArmVirtPkg.ci.yaml ArmVirtPkg: Move PlatformBootManagerLib to OvmfPkg 2024-02-06 23:51:47 +08:00
ArmVirtPkg.dec ArmVirtPkg: Move two PCD variables into OvmfPkg 2024-02-06 23:51:47 +08:00
ArmVirtQemu.dsc ArmVirtPkg: mark fixed network PCDs 2024-11-11 13:38:51 +00:00
ArmVirtQemu.fdf ArmVirtPkg: Switch all PrePeiCore users to new Sec.inf 2024-08-01 14:55:03 +00:00
ArmVirtQemuFvMain.fdf.inc ArmVirtPkg/ArmVirtQemu: Add RngDxe driver 2024-05-24 15:48:52 +00:00
ArmVirtQemuKernel.dsc ArmVirtPkg: mark fixed network PCDs 2024-11-11 13:38:51 +00:00
ArmVirtQemuKernel.fdf
ArmVirtRules.fdf.inc
ArmVirtXen.dsc ArmVirtPkg: Drop incorrect reference to LzmaDecompressLib 2024-08-30 09:57:24 +00:00
ArmVirtXen.fdf ArmVirtPkg: Add varpolicy shell command 2023-10-31 14:40:50 +00:00
VarStore.fdf.inc ArmVirtPkg: Enable the non-hardcode version FdtNorFlashQemuLib 2024-06-04 22:51:09 +00:00