X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BeagleBoardPkg%2FSec%2FSec.c;h=448a713f4d41c475564e0a5fb053ccc1ba12d9fb;hp=a87ff6d65dc64d1fed27ef2ef6b2bcb0f2fbfa6d;hb=ca3ad58bfa2284f0dc98ec904423e83874a90f52;hpb=8c3f387b270896178378ae5302ffa383d25632d7 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