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
This commit is contained in:
jljusten
2009-05-05 19:46:28 +00:00
parent de29c94afc
commit 57cca89e0a
2 changed files with 31 additions and 11 deletions

View File

@@ -49,6 +49,5 @@
BaseLib
DebugLib
BaseMemoryLib
MemoryAllocationLib
ExtractGuidedSectionLib