]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg: Update PeiMemoryAllocationLib to allocate EfiReservedMemoryType memory directly.
authorStar Zeng <star.zeng@intel.com>
Mon, 11 May 2015 03:12:51 +0000 (03:12 +0000)
committerlzeng14 <lzeng14@Edk2>
Mon, 11 May 2015 03:12:51 +0000 (03:12 +0000)
commit34363594e3373601d41a5a5fcefefe64283a88f9
tree24abdbb297cc71f8c9d2c53bf58261d6aac7eaf2
parentab6fb25a1f33f39b30ee10af03c50014221c0661
MdePkg: Update PeiMemoryAllocationLib to allocate EfiReservedMemoryType memory directly.

The old implementation was to allocate EfiBootServicesData memory first,
and then update the MemoryType of memory allocation hob to
EfiReservedMemoryType.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17395 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c