Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2be91af0cc5881e5cca63545ae7a4abe03ab76a0
      
https://github.com/tianocore/edk2/commit/2be91af0cc5881e5cca63545ae7a4abe03ab76a0
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M MdeModulePkg/Core/Dxe/Gcd/Gcd.c

  Log Message:
  -----------
  MdeModulePkg: GCD: Use Alignment Requirement in Bin Size Calc

Currently CalculateTotalMemoryBinSizeNeeded() does not take
runtime alignment granularity considerations into account. This
means that the GCD initialization code can choose resource desc
HOBs to use for the bin region that are actually too small and
fail to initialize the bins.

This fixes CalculateTotalMemoryBinSizeNeeded() to take the
alignment requirements into consideration, both for size and for
alignment of the bin address range.

Signed-off-by: Oliver Smith-Denny <[email protected]>


  Commit: ab3097d457ac1e284ffcaded9d83a7687c65cc13
      
https://github.com/tianocore/edk2/commit/ab3097d457ac1e284ffcaded9d83a7687c65cc13
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

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

  Log Message:
  -----------
  MdeModulePkg: Dxe Core: Use CalculateTotalMemoryBinSizeNeeded()

CoreSetMemoryTypeInformationRange() currently calculates the bin
size needed independently from the CalculateTotalMemoryBinSizeNeeded()
function. This commit updates to use that function and remove the
duplication.

Signed-off-by: Oliver Smith-Denny <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/a41ba5ebe111...ab3097d457ac

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