/** @file\r
Definition of Pei Core Structures and Services\r
\r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
/// \r
INTN LastDispatchedNotify;\r
///\r
- /// Ppi database.\r
+ /// Ppi database has the PcdPeiCoreMaxPpiSupported number of entries.\r
///\r
- PEI_PPI_LIST_POINTERS PpiListPtrs[FixedPcdGet32 (PcdPeiCoreMaxPpiSupported)];\r
+ PEI_PPI_LIST_POINTERS *PpiListPtrs;\r
} PEI_PPI_DATABASE;\r
\r
\r
EFI_FIRMWARE_VOLUME_HEADER *FvHeader;\r
EFI_PEI_FIRMWARE_VOLUME_PPI *FvPpi;\r
EFI_PEI_FV_HANDLE FvHandle;\r
- UINT8 PeimState[FixedPcdGet32 (PcdPeiCoreMaxPeimPerFv)];\r
- EFI_PEI_FILE_HANDLE FvFileHandles[FixedPcdGet32 (PcdPeiCoreMaxPeimPerFv)];\r
+ //\r
+ // Ponter to the buffer with the PcdPeiCoreMaxPeimPerFv number of Entries.\r
+ //\r
+ UINT8 *PeimState;\r
+ //\r
+ // Ponter to the buffer with the PcdPeiCoreMaxPeimPerFv number of Entries.\r
+ //\r
+ EFI_PEI_FILE_HANDLE *FvFileHandles;\r
BOOLEAN ScanFv;\r
UINT32 AuthenticationStatus;\r
} PEI_CORE_FV_HANDLE;\r
UINTN FvCount;\r
\r
///\r
- /// The instance arrary for FVs which contains FFS and could be dispatched by PeiCore.\r
+ /// Pointer to the buffer with the PcdPeiCoreMaxFvSupported number of entries.\r
+ /// Each entry is for one FV which contains FFS and could be dispatched by PeiCore.\r
///\r
- PEI_CORE_FV_HANDLE Fv[FixedPcdGet32 (PcdPeiCoreMaxFvSupported)];\r
- PEI_CORE_UNKNOW_FORMAT_FV_INFO UnknownFvInfo[FixedPcdGet32 (PcdPeiCoreMaxFvSupported)];\r
+ PEI_CORE_FV_HANDLE *Fv;\r
+\r
+ ///\r
+ /// Pointer to the buffer with the PcdPeiCoreMaxFvSupported number of entries.\r
+ /// Each entry is for one FV which could not be dispatched by PeiCore.\r
+ ///\r
+ PEI_CORE_UNKNOW_FORMAT_FV_INFO *UnknownFvInfo;\r
UINTN UnknownFvInfoCount;\r
\r
- EFI_PEI_FILE_HANDLE CurrentFvFileHandles[FixedPcdGet32 (PcdPeiCoreMaxPeimPerFv)];\r
+ ///\r
+ /// Pointer to the buffer with the PcdPeiCoreMaxPeimPerFv number of entries.\r
+ ///\r
+ EFI_PEI_FILE_HANDLE *CurrentFvFileHandles;\r
UINTN AprioriCount;\r
UINTN CurrentPeimFvCount;\r
UINTN CurrentPeimCount;\r
// This field points to the shadowed image read function\r
//\r
PE_COFF_LOADER_READ_FILE ShadowedImageRead;\r
+\r
+ //\r
+ // Pointer to the temp buffer with the PcdPeiCoreMaxPeimPerFv + 1 number of entries.\r
+ //\r
+ EFI_PEI_FILE_HANDLE *FileHandles;\r
+ //\r
+ // Pointer to the temp buffer with the PcdPeiCoreMaxPeimPerFv number of entries.\r
+ //\r
+ EFI_GUID *FileGuid;\r
+\r
//\r
// Temp Memory Range is not covered by PeiTempMem and Stack.\r
// Those Memory Range will be migrated into phisical memory. \r