Updated to support passing PE/COFF and LZMA decompress up via HOBS. Currently turned off.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9887 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -24,9 +24,11 @@
|
||||
#include <Library/PeCoffGetEntryPointLib.h>
|
||||
|
||||
#include <Ppi/GuidedSectionExtraction.h>
|
||||
|
||||
#include <Guid/LzmaDecompress.h>
|
||||
#include <Omap3530/Omap3530.h>
|
||||
|
||||
#include "LzmaDecompress.h"
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
_ModuleEntryPoint(
|
||||
@@ -260,6 +262,16 @@ CEntryPoint (
|
||||
ExtractGuidedSectionLibConstructor();
|
||||
LzmaDecompressLibConstructor();
|
||||
|
||||
// Build HOBs to pass up our version of stuff the DXE Core needs to save space
|
||||
#if 0
|
||||
BuildPeCoffLoaderHob ();
|
||||
BuildExtractSectionHob (
|
||||
&gLzmaCustomDecompressGuid,
|
||||
LzmaGuidedSectionGetInfo,
|
||||
LzmaGuidedSectionExtraction
|
||||
);
|
||||
#endif
|
||||
|
||||
DecompressFirstFv ();
|
||||
|
||||
// Load the DXE Core and transfer control to it
|
||||
|
@@ -37,6 +37,7 @@
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
ArmPkg/ArmPkg.dec
|
||||
Omap35xxPkg/Omap35xxPkg.dec
|
||||
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
|
Reference in New Issue
Block a user