Remove usage of MemoryAllocationLib, and use a simplistic allocation
commit8632d0e2e78ef45cf78a245909337538bd583164
authorJordan Justen <jljusten@tianocore.org>
Tue, 5 May 2009 19:46:28 +0000 (5 19:46 +0000)
committerJordan Justen <jljusten@tianocore.org>
Tue, 5 May 2009 19:46:28 +0000 (5 19:46 +0000)
treed61326acd5aacded2bdf856b463b60bbc76ec84f
parentdc3fd8ffafb72c4a1f03ac08ff4c58e38f227a8c
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.)
IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaDecompress.c