X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFsp2WrapperPkg%2FLibrary%2FSecFspWrapperPlatformSecLibSample%2FSecTempRamDone.c;h=b7a622703af0181d4aac80dfae979331d84e7f44;hp=76d2f4208691b34263b643492a82116a042c5538;hb=f86b9293ecbe0344074817b1a2f6876fa2a629e2;hpb=5443e7fee21d09dac22935428e3e26b41503091f diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecTempRamDone.c b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecTempRamDone.c index 76d2f42086..b7a622703a 100644 --- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecTempRamDone.c +++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecTempRamDone.c @@ -14,14 +14,11 @@ #include -#include - -#include #include #include -#include -#include -#include +#include +#include +#include /** This interface disables temporary memory in SEC Phase. @@ -43,8 +40,8 @@ SecPlatformDisableTemporaryMemory ( DEBUG((DEBUG_INFO, "SecPlatformDisableTemporaryMemory enter\n")); - TempRamExitParam = GetTempRamExitParam (); - Status = CallTempRamExit (FspHeader, TempRamExitParam); + TempRamExitParam = UpdateTempRamExitParam (); + Status = CallTempRamExit (TempRamExitParam); DEBUG((DEBUG_INFO, "TempRamExit status: 0x%x\n", Status)); ASSERT_EFI_ERROR(Status);