33 IN OUT UINT64 *StructureSize,
67 EFI_PEI_PPI_DESCRIPTOR_PPI,
68 &gTopOfTemporaryRamPpiGuid,
72 EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
73 &gPeiSecPerformancePpiGuid,
103 DEBUG ((DEBUG_INFO,
"SecPlatformMain\n"));
105 DEBUG ((DEBUG_INFO,
"BootFirmwareVolumeBase - 0x%x\n", SecCoreData->BootFirmwareVolumeBase));
106 DEBUG ((DEBUG_INFO,
"BootFirmwareVolumeSize - 0x%x\n", SecCoreData->BootFirmwareVolumeSize));
107 DEBUG ((DEBUG_INFO,
"TemporaryRamBase - 0x%x\n", SecCoreData->TemporaryRamBase));
108 DEBUG ((DEBUG_INFO,
"TemporaryRamSize - 0x%x\n", SecCoreData->TemporaryRamSize));
109 DEBUG ((DEBUG_INFO,
"PeiTemporaryRamBase - 0x%x\n", SecCoreData->PeiTemporaryRamBase));
110 DEBUG ((DEBUG_INFO,
"PeiTemporaryRamSize - 0x%x\n", SecCoreData->PeiTemporaryRamSize));
111 DEBUG ((DEBUG_INFO,
"StackBase - 0x%x\n", SecCoreData->StackBase));
112 DEBUG ((DEBUG_INFO,
"StackSize - 0x%x\n", SecCoreData->StackSize));
120 PpiList = (VOID *)((
UINTN)SecCoreData->PeiTemporaryRamBase + (
UINTN)SecCoreData->PeiTemporaryRamSize/2);
121 CopyMem (PpiList, mPeiSecPlatformPpi,
sizeof (mPeiSecPlatformPpi));
126 PpiList[0].
Ppi = (VOID *)((
UINTN)SecCoreData->TemporaryRamBase + SecCoreData->TemporaryRamSize);
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID EFIAPI InitializeApicTimer(IN UINTN DivideValue, IN UINT32 InitCount, IN BOOLEAN PeriodicMode, IN UINT8 Vector)
#define DEBUG(Expression)