edk2/MdeModulePkg/Core/Dxe
Jeff Brasen ca8de19382 MdeModulePkg: MemoryBins: make GoogleTest page-granularity aware
MemoryBinGoogleTest.PopulatesFromValidHob asserted fixed page counts for
each memory type.  PopulateMemoryTypeInformation, however, rounds the
runtime memory types (EfiReservedMemoryType, EfiACPIMemoryNVS,
EfiRuntimeServicesCode, EfiRuntimeServicesData) up to
RUNTIME_PAGE_ALLOCATION_GRANULARITY.  That granularity equals EFI_PAGE_SIZE
on IA32/X64, so the hard-coded values happened to match, but it is 64 KiB
on AArch64, where the same inputs round up to different page counts and the
test failed.

Compute the expected page counts with the same granularity rounding the
production code uses, so the test passes on all host architectures instead
of only x86.

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
2026-07-31 15:16:47 +00:00
..
Dispatcher MdeModulePkg: Dxe: Skip FV Extraction When FV3 HOB Found 2026-06-22 17:59:25 +00:00
DxeMain MdeModulePkg: Always Initialize Separate Exception Stacks 2025-10-23 00:57:59 +00:00
Event MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
FwVol MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
FwVolBlock MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Gcd MdeModulePkg: DxeCore: Update Memory Statistics from PEI 2026-06-24 15:53:58 +00:00
Hand MdeModulePkg/Core: Validate DXE event signature before usage 2026-03-23 18:43:11 +00:00
Image MdeModulePkg: Use EFI_NOT_FOUND when SourceBuffer and DevicePath are NULL 2026-06-11 04:02:08 +00:00
Library MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Mem MdeModulePkg: MemoryBins: make GoogleTest page-granularity aware 2026-07-31 15:16:47 +00:00
Misc MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
SectionExtraction MdeModulePkg: Fix missing NULL tests. 2025-11-22 18:58:47 +00:00
DxeCore.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DxeCoreExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DxeMain.h MdeModulePkg: Dxe Core: Split Memory Bin Logic Into Separate File 2026-06-24 15:53:58 +00:00
DxeMain.inf MdeModulePkg: Dxe Core: Split Memory Bin Logic Into Separate File 2026-06-24 15:53:58 +00:00