]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioScsiDxe/VirtioScsi.h
OvmfPkg: raise the PCIEXBAR base to 2816 MB on Q35
[mirror_edk2.git] / OvmfPkg / VirtioScsiDxe / VirtioScsi.h
index 0d3181d140dcac484d6335c370bf102ceab65b3a..af1901891f8aa0341ec45b9d47243beb95deeb45 100644 (file)
@@ -5,13 +5,7 @@
 \r
   Copyright (C) 2012, Red Hat, Inc.\r
 \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
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
-  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -32,7 +26,7 @@
 // identification, and 8 bytes for LUN identification.\r
 //\r
 // EFI_EXT_SCSI_PASS_THRU_MODE.AdapterId is also a target identifier,\r
-// consisting of 4 bytes. Make sure TARGET_MAX_BYTES can accomodate both\r
+// consisting of 4 bytes. Make sure TARGET_MAX_BYTES can accommodate both\r
 // AdapterId and our target identifiers.\r
 //\r
 #if TARGET_MAX_BYTES < 4\r
@@ -52,6 +46,7 @@ typedef struct {
   //                              ----------------   ------------------  ----------\r
   UINT32                          Signature;      // DriverBindingStart  0\r
   VIRTIO_DEVICE_PROTOCOL          *VirtIo;        // DriverBindingStart  0\r
+  EFI_EVENT                       ExitBoot;       // DriverBindingStart  0\r
   BOOLEAN                         InOutSupported; // VirtioScsiInit      1\r
   UINT16                          MaxTarget;      // VirtioScsiInit      1\r
   UINT32                          MaxLun;         // VirtioScsiInit      1\r
@@ -59,6 +54,7 @@ typedef struct {
   VRING                           Ring;           // VirtioRingInit      2\r
   EFI_EXT_SCSI_PASS_THRU_PROTOCOL PassThru;       // VirtioScsiInit      1\r
   EFI_EXT_SCSI_PASS_THRU_MODE     PassThruMode;   // VirtioScsiInit      1\r
+  VOID                            *RingMap;       // VirtioRingMap       2\r
 } VSCSI_DEV;\r
 \r
 #define VIRTIO_SCSI_FROM_PASS_THRU(PassThruPointer) \\r