edk2/MdeModulePkg/Core/Dxe/Mem
Oliver Smith-Denny f80a406aa9 MdeModulePkg: CoreGetMemoryMap: Account for Unaccepted Entries
Commit 43e306806e added
EFIGcdMemoryTypeUnaccepted (as it was later renamed) to be
returned in the EFI_MEMORY_MAP. However, it did not add it
to the number of entries calculation, so if any
EfiGcdMemoryTypeUnaccepted entries exist in the GCD they will
overflow the EFI_MEMORY_MAP buffer provided by the bootloader.

This resolves that by accounting for unaccepted entries in
the number of entries calculation.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2025-10-17 07:31:03 +00:00
..
HeapGuard.c MdeModulePkg: DxeCore: Fix Use-After-Free guard causing page fault 2024-07-17 20:56:50 +00:00
HeapGuard.h MdeModulePkg: DxeCore: Do Not Apply Guards to Unsupported Types 2024-03-14 16:29:22 +00:00
Imem.h MdeModulePkg: Remove EFI_MEMORY_* Defines 2024-07-26 03:08:20 +00:00
MemData.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryProfileRecord.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Page.c MdeModulePkg: CoreGetMemoryMap: Account for Unaccepted Entries 2025-10-17 07:31:03 +00:00
Pool.c MdeModulePkg: DxeCore: Do Not Apply Guards to Unsupported Types 2024-03-14 16:29:22 +00:00