]> git.proxmox.com Git - mirror_edk2.git/commit
Remove usage of MemoryAllocationLib, and use a simplistic allocation
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 May 2009 19:46:28 +0000 (19:46 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 5 May 2009 19:46:28 +0000 (19:46 +0000)
commit57cca89e0aa24d3feb6322c556038edd3aad830f
treed61326acd5aacded2bdf856b463b60bbc76ec84f
parentde29c94afc10e4f52675ae8c691e1cef736b43cb
Remove usage of MemoryAllocationLib, and use a simplistic allocation
routine which makes use of the decompression scratch buffer.

This resolves a potential issue where the usage of the LZMA library
in the PEI phase may not have enough memory for the AllocatePool
function call.  (Some platforms may be extremely constrained in
heap space for the PEI phase.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8242 6f19259b-4bc3-4df7-8a09-765794883524
IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaDecompress.c