MdePkg PeiMemoryAllocationLib: Update InternalAllocateAlignedPages
authorStar Zeng <star.zeng@intel.com>
Fri, 3 Mar 2017 10:15:13 +0000 (18:15 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 4 Sep 2017 05:45:47 +0000 (13:45 +0800)
commitc2ab95806bf0e5ae272f47ea6f192c12ce7ca069
tree8aa596ca86a52d7f0fc2a4821122b276ec5dfc8d
parent2132ef05c47bf455eb1da8d3377a29baf0dd64a7
MdePkg PeiMemoryAllocationLib: Update InternalAllocateAlignedPages

Update InternalAllocateAlignedPages to use PeiServicesFreePages.

Let the InternalAllocateAlignedPages in PeiMemoryAllocationLib use
same algorithm with InternalAllocateAlignedPages in
UefiMemoryAllocationLib.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c