]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.h
Enable print error info when execute the application.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVolBlock / FwVolBlock.h
index d06beb0385dea920bb58dcb5e00730919d8337e2..d269ccfbe6945c622ec01a3db5874f1a26314a95 100644 (file)
@@ -2,8 +2,8 @@
   Firmware Volume Block protocol functions.\r
   Consumes FV hobs and creates appropriate block protocols.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2008, 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
 http://opensource.org/licenses/bsd-license.php\r
@@ -25,17 +25,23 @@ typedef struct {
   UINTN                       Length;\r
 } LBA_CACHE;\r
 \r
-\r
 typedef struct {\r
   MEMMAP_DEVICE_PATH          MemMapDevPath;\r
   EFI_DEVICE_PATH_PROTOCOL    EndDevPath;\r
-} FV_DEVICE_PATH;\r
+} FV_MEMMAP_DEVICE_PATH;\r
 \r
+//\r
+// UEFI Specification define FV device path format if FV provide name guid in extension header\r
+//\r
+typedef struct {\r
+  MEDIA_FW_VOL_DEVICE_PATH    FvDevPath;\r
+  EFI_DEVICE_PATH_PROTOCOL    EndDevPath;\r
+} FV_PIWG_DEVICE_PATH;\r
 \r
 typedef struct {\r
   UINTN                                 Signature;\r
   EFI_HANDLE                            Handle;\r
-  FV_DEVICE_PATH                        DevicePath;\r
+  EFI_DEVICE_PATH_PROTOCOL              *DevicePath;\r
   EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL    FwVolBlockInstance;\r
   UINTN                                 NumBlocks;\r
   LBA_CACHE                             *LbaCache;\r