19 EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST,
20 &gEfiTemporaryRamSupportPpiGuid,
21 &mSecTemporaryRamSupportPpi
71 UINTN SecReseveredMemorySize;
75 EMU_MAGIC_PAGE ()->PpiList = PpiList;
76 ProcessLibraryConstructorList ();
78 DEBUG ((DEBUG_ERROR,
"SEC Has Started\n"));
83 SecReseveredMemorySize =
sizeof (gPrivateDispatchTable);
84 for (Ppi = PpiList, Index = 1; ; Ppi++, Index++) {
87 if ((Ppi->
Flags & EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) == EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST) {
89 Ppi->
Flags &= ~EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST;
100 SecCoreData->PeiTemporaryRamBase = (VOID *)((
UINTN)SecCoreData->PeiTemporaryRamBase + SecReseveredMemorySize);
101 SecCoreData->PeiTemporaryRamSize -= SecReseveredMemorySize;
108 SecPpiList = &PpiArray[0];
109 ASSERT (
sizeof (PpiArray) >= SecReseveredMemorySize);
113 CopyMem (&SecPpiList[Index], gPrivateDispatchTable,
sizeof (gPrivateDispatchTable));
124 Status = PeCoffLoaderGetEntryPoint (PeCoffImage, (VOID **)&EntryPoint);
128 EntryPoint (SecCoreData, SecPpiList);
#define CPU_STACK_ALIGNMENT
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
EFI_STATUS EFIAPI PeiServicesFfsFindSectionData(IN EFI_SECTION_TYPE SectionType, IN EFI_PEI_FILE_HANDLE FileHandle, OUT VOID **SectionData)
EFI_STATUS EFIAPI PeiServicesFfsFindNextFile(IN EFI_FV_FILETYPE SearchType, IN EFI_PEI_FV_HANDLE VolumeHandle, IN OUT EFI_PEI_FILE_HANDLE *FileHandle)
#define ALIGN_VALUE(Value, Alignment)
#define ASSERT_EFI_ERROR(StatusParameter)
#define DEBUG(Expression)
VOID * EFI_PEI_FILE_HANDLE
VOID(EFIAPI * EFI_PEI_CORE_ENTRY_POINT)(IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData, IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList)