mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
IntelFsp2WrapperPkg SecFspWrapperPlatformSecLibSample:Update code to pass build
1. Update its library class to PlatformSecLib 2. Update source code to refer to the matched header file Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Giri Mudusuru <giri.p.mudusuru@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
This commit is contained in:
parent
5443e7fee2
commit
f86b9293ec
@ -18,6 +18,8 @@
|
|||||||
#include <Ppi/SecPerformance.h>
|
#include <Ppi/SecPerformance.h>
|
||||||
|
|
||||||
#include <Library/LocalApicLib.h>
|
#include <Library/LocalApicLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/BaseMemoryLib.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This interface conveys state information out of the Security (SEC) phase into PEI.
|
This interface conveys state information out of the Security (SEC) phase into PEI.
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
FILE_GUID = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573
|
FILE_GUID = 8F1AC44A-CE7E-4E29-95BB-92E321BB1573
|
||||||
MODULE_TYPE = SEC
|
MODULE_TYPE = SEC
|
||||||
VERSION_STRING = 1.0
|
VERSION_STRING = 1.0
|
||||||
LIBRARY_CLASS = FspWrapperPlatformSecLib
|
LIBRARY_CLASS = PlatformSecLib
|
||||||
|
|
||||||
#
|
#
|
||||||
# The following information is for reference only and not required by the build tools.
|
# The following information is for reference only and not required by the build tools.
|
||||||
@ -68,6 +68,8 @@
|
|||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
LocalApicLib
|
LocalApicLib
|
||||||
SerialPortLib
|
SerialPortLib
|
||||||
|
DebugLib
|
||||||
|
BaseMemoryLib
|
||||||
|
|
||||||
[Ppis]
|
[Ppis]
|
||||||
gEfiSecPlatformInformationPpiGuid ## CONSUMES
|
gEfiSecPlatformInformationPpiGuid ## CONSUMES
|
||||||
|
@ -14,14 +14,11 @@
|
|||||||
|
|
||||||
#include <PiPei.h>
|
#include <PiPei.h>
|
||||||
|
|
||||||
#include <Ppi/TemporaryRamDone.h>
|
|
||||||
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
#include <Library/PcdLib.h>
|
#include <Library/PcdLib.h>
|
||||||
#include <Library/DebugAgentLib.h>
|
#include <Library/FspWrapperApiLib.h>
|
||||||
#include <Library/FspPlatformInfoLib.h>
|
#include <Library/FspWrapperPlatformLib.h>
|
||||||
#include <Library/FspApiLib.h>
|
#include <Guid/FspHeaderFile.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This interface disables temporary memory in SEC Phase.
|
This interface disables temporary memory in SEC Phase.
|
||||||
@ -43,8 +40,8 @@ SecPlatformDisableTemporaryMemory (
|
|||||||
|
|
||||||
DEBUG((DEBUG_INFO, "SecPlatformDisableTemporaryMemory enter\n"));
|
DEBUG((DEBUG_INFO, "SecPlatformDisableTemporaryMemory enter\n"));
|
||||||
|
|
||||||
TempRamExitParam = GetTempRamExitParam ();
|
TempRamExitParam = UpdateTempRamExitParam ();
|
||||||
Status = CallTempRamExit (FspHeader, TempRamExitParam);
|
Status = CallTempRamExit (TempRamExitParam);
|
||||||
DEBUG((DEBUG_INFO, "TempRamExit status: 0x%x\n", Status));
|
DEBUG((DEBUG_INFO, "TempRamExit status: 0x%x\n", Status));
|
||||||
ASSERT_EFI_ERROR(Status);
|
ASSERT_EFI_ERROR(Status);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user