]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/PeiMain.h
Update shell binaries to newer version snapshot 2009-12-14 snapshot.
[mirror_edk2.git] / MdeModulePkg / Core / Pei / PeiMain.h
index c8561d52e1cfffba738fd91fe2e038ff6432acfa..dc5ea221d6db2fddf3377af87ec7c279c4ee90da 100644 (file)
@@ -112,6 +112,13 @@ typedef struct {
   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
@@ -145,7 +152,9 @@ typedef struct{
   /// 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
@@ -1066,4 +1075,17 @@ FindNextCoreFvHandle (
   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