diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-31 01:39:20 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-31 01:39:20 +0000 |
commit | ca3ad58bfa2284f0dc98ec904423e83874a90f52 (patch) | |
tree | 3364593eac0b30da55804c13a990e0b85842dfa7 /BeagleBoardPkg/Sec | |
parent | 3370d33e8d95ecc964847e102d711abb09d8bcbe (diff) | |
download | edk2-platforms-ca3ad58bfa2284f0dc98ec904423e83874a90f52.tar.xz |
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
Diffstat (limited to 'BeagleBoardPkg/Sec')
-rwxr-xr-x | BeagleBoardPkg/Sec/Sec.c | 14 | ||||
-rwxr-xr-x | BeagleBoardPkg/Sec/Sec.inf | 1 |
2 files changed, 14 insertions, 1 deletions
diff --git a/BeagleBoardPkg/Sec/Sec.c b/BeagleBoardPkg/Sec/Sec.c index a87ff6d65d..448a713f4d 100755 --- a/BeagleBoardPkg/Sec/Sec.c +++ b/BeagleBoardPkg/Sec/Sec.c @@ -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
diff --git a/BeagleBoardPkg/Sec/Sec.inf b/BeagleBoardPkg/Sec/Sec.inf index 58acf9ef4e..87394504ac 100755 --- a/BeagleBoardPkg/Sec/Sec.inf +++ b/BeagleBoardPkg/Sec/Sec.inf @@ -37,6 +37,7 @@ EmbeddedPkg/EmbeddedPkg.dec ArmPkg/ArmPkg.dec Omap35xxPkg/Omap35xxPkg.dec + IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec [LibraryClasses] BaseLib |