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
-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
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\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
UINT32 FvbAttributes;\r
EFI_PHYSICAL_ADDRESS BaseAddress;\r
+ UINT32 AuthenticationStatus;\r
} EFI_FW_VOL_BLOCK_DEVICE;\r
\r
\r