]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h
OvmfPkg: QemuFlashFvbServicesRuntimeDxe: remove FvbDevLock field
[mirror_edk2.git] / OvmfPkg / QemuFlashFvbServicesRuntimeDxe / FwBlockService.h
index 0dcd26d8d0eb9307facf46a17019753c72143386..67140d0a768ab1ef14bfd5f7f8c8b8ef725416b9 100644 (file)
@@ -1,21 +1,22 @@
 /**@file\r
 \r
-Copyright (c) 2006, 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
+  Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\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
+  This program and the accompanying materials are licensed and made available\r
+  under the terms and conditions of the BSD License which accompanies this\r
+  distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-Module Name:\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
 \r
-  FwBlockService.h\r
+  Module Name:\r
 \r
-Abstract:\r
+    FwBlockService.h\r
 \r
-  Firmware volume block driver for Intel Firmware Hub (FWH) device\r
+  Abstract:\r
+\r
+    Firmware volume block driver for Intel Firmware Hub (FWH) device\r
 \r
 **/\r
 \r
@@ -29,7 +30,6 @@ Abstract:
 #define FVB_VIRTUAL   1\r
 \r
 typedef struct {\r
-  EFI_LOCK                    FvbDevLock;\r
   UINTN                       FvBase[2];\r
   UINTN                       NumOfBlocks;\r
   EFI_FIRMWARE_VOLUME_HEADER  VolumeHeader;\r
@@ -44,8 +44,12 @@ typedef struct {
 //\r
 // Fvb Protocol instance data\r
 //\r
-#define FVB_DEVICE_FROM_THIS(a)         CR (a, EFI_FW_VOL_BLOCK_DEVICE, FwVolBlockInstance, FVB_DEVICE_SIGNATURE)\r
-#define FVB_EXTEND_DEVICE_FROM_THIS(a)  CR (a, EFI_FW_VOL_BLOCK_DEVICE, FvbExtension, FVB_DEVICE_SIGNATURE)\r
+#define FVB_DEVICE_FROM_THIS(a) CR (a, EFI_FW_VOL_BLOCK_DEVICE, \\r
+                                  FwVolBlockInstance, FVB_DEVICE_SIGNATURE)\r
+\r
+#define FVB_EXTEND_DEVICE_FROM_THIS(a) CR (a, EFI_FW_VOL_BLOCK_DEVICE, \\r
+                                         FvbExtension, FVB_DEVICE_SIGNATURE)\r
+\r
 #define FVB_DEVICE_SIGNATURE            SIGNATURE_32 ('F', 'V', 'B', 'N')\r
 \r
 typedef struct {\r