From ca3ad58bfa2284f0dc98ec904423e83874a90f52 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Sun, 31 Jan 2010 01:39:20 +0000 Subject: 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 --- BeagleBoardPkg/Sec/Sec.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'BeagleBoardPkg/Sec/Sec.c') 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 #include - +#include #include +#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 -- cgit v1.2.3