BOOLEAN ScanFv;\r
} PEI_CORE_FV_HANDLE;\r
\r
+typedef struct {\r
+ EFI_GUID FvFormat;\r
+ VOID *FvInfo;\r
+ UINT32 FvInfoSize;\r
+ EFI_PEI_NOTIFY_DESCRIPTOR NotifyDescriptor;\r
+} PEI_CORE_UNKNOW_FORMAT_FV_INFO;\r
+\r
#define CACHE_SETION_MAX_NUMBER 0x10\r
typedef struct {\r
EFI_COMMON_SECTION_HEADER* Section[CACHE_SETION_MAX_NUMBER];\r
/// The instance arrary for FVs which contains FFS and could be dispatched by PeiCore.\r
///\r
PEI_CORE_FV_HANDLE Fv[FixedPcdGet32 (PcdPeiCoreMaxFvSupported)];\r
-\r
+ PEI_CORE_UNKNOW_FORMAT_FV_INFO UnknownFvInfo[FixedPcdGet32 (PcdPeiCoreMaxFvSupported)];\r
+ UINTN UnknownFvInfoCount;\r
+ \r
EFI_PEI_FILE_HANDLE CurrentFvFileHandles[FixedPcdGet32 (PcdPeiCoreMaxPeimPerFv)];\r
UINTN AprioriCount;\r
UINTN CurrentPeimFvCount;\r
IN UINTN Instance\r
);\r
\r
+/**\r
+ After PeiCore image is shadowed into permanent memory, all build-in FvPpi should\r
+ be re-installed with the instance in permanent memory and all cached FvPpi pointers in \r
+ PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant\r
+ memory.\r
+ \r
+ @param PrivateData Pointer to PEI_CORE_INSTANCE.\r
+**/ \r
+VOID\r
+PeiReinitializeFv (\r
+ IN PEI_CORE_INSTANCE *PrivateData\r
+ );\r
+ \r
#endif\r