]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n actions...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 9 May 2009 01:13:40 +0000 (01:13 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 9 May 2009 01:13:40 +0000 (01:13 +0000)
commit6e10b70a62dee17d7913b20f5323c1e75bd13417
tree420bb8a87db254d6165b8d503a0685f33da2fc18
parent6cb6f078ae95b64715609b87c1e28538395bd821
Clarify that FreePages(), FreeAlignedPages(), and FreePool() may perform n actions if those operations are not possible.  For example, the PEI Phase does not provide any services to free allocated pages or allocated pool memory.

Update comments in PeiMemoryAllocationLib and UefiMemoryAllocationLib to match updates to MemoryAllocationLib.h.

Add ASSERT() statements in PeiMemoryAllocationLib for the FreePages() and FreeAlignedPages() if Pages is 0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8275 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/MemoryAllocationLib.h
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c