Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f80a406aa9dd9fde80b3e33cd435a1641afde13e
      
https://github.com/tianocore/edk2/commit/f80a406aa9dd9fde80b3e33cd435a1641afde13e
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2025-10-17 (Fri, 17 Oct 2025)

  Changed paths:
    M MdeModulePkg/Core/Dxe/Mem/Page.c

  Log Message:
  -----------
  MdeModulePkg: CoreGetMemoryMap: Account for Unaccepted Entries

Commit 43e306806e3c1ed3ad7e9913492732e893cafa0f 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 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to