]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVol/FwVolDriver.h
MdeModulePkg DxeCore: Don't cache memory mapped IO FV.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVol / FwVolDriver.h
index a614b93d1bd9f87b55d48d1390c8d1e15620db94..514c6ed211ad3108c3a7a7123306733e8102a94d 100644 (file)
@@ -2,7 +2,7 @@
   Firmware File System protocol. Layers on top of Firmware\r
   Block protocol to produce a file abstraction of FV based files.\r
 \r
-Copyright (c) 2006 - 2011, 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
@@ -26,6 +26,7 @@ typedef struct {
   LIST_ENTRY                      Link;\r
   EFI_FFS_FILE_HEADER             *FfsHeader;\r
   UINTN                           StreamHandle;\r
+  BOOLEAN                         FileCached;\r
 } FFS_FILE_LIST_ENTRY;\r
 \r
 typedef struct {\r
@@ -42,8 +43,10 @@ typedef struct {
 \r
   LIST_ENTRY                              FfsFileListHeader;\r
 \r
+  UINT32                                  AuthenticationStatus;\r
   UINT8                                   ErasePolarity;\r
   BOOLEAN                                 IsFfs3Fv;\r
+  BOOLEAN                                 IsMemoryMapped;\r
 } FV_DEVICE;\r
 \r
 #define FV_DEVICE_FROM_THIS(a) CR(a, FV_DEVICE, Fv, FV2_DEVICE_SIGNATURE)\r
@@ -423,21 +426,4 @@ GetFwVolHeader (
   OUT    EFI_FIRMWARE_VOLUME_HEADER             **FwVolHeader\r
   );\r
 \r
-\r
-\r
-/**\r
-  Check if an FV is consistent and allocate cache for it.\r
-\r
-  @param  FvDevice              A pointer to the FvDevice to be checked.\r
-\r
-  @retval EFI_OUT_OF_RESOURCES  No enough buffer could be allocated.\r
-  @retval EFI_SUCCESS           FV is consistent and cache is allocated.\r
-  @retval EFI_VOLUME_CORRUPTED  File system is corrupted.\r
-\r
-**/\r
-EFI_STATUS\r
-FvCheck (\r
-  IN OUT FV_DEVICE  *FvDevice\r
-  );\r
-\r
 #endif\r