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
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