]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / FwVolBlock / FwVolBlock.h
index d06beb0385dea920bb58dcb5e00730919d8337e2..2205e9e77d1bf64cf3561a2e49a19eec680419a3 100644 (file)
@@ -2,14 +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
-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
@@ -25,22 +19,29 @@ 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
   UINT32                                FvbAttributes;\r
   EFI_PHYSICAL_ADDRESS                  BaseAddress;\r
+  UINT32                                AuthenticationStatus;\r
 } EFI_FW_VOL_BLOCK_DEVICE;\r
 \r
 \r