]>
Commit | Line | Data |
---|---|---|
e497432c LA |
1 | /** @file\r |
2 | \r | |
3 | Internal definitions for the PVSCSI driver, which produces Extended SCSI\r | |
4 | Pass Thru Protocol instances for pvscsi devices.\r | |
5 | \r | |
6 | Copyright (C) 2020, Oracle and/or its affiliates.\r | |
7 | \r | |
8 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
9 | \r | |
10 | **/\r | |
11 | \r | |
12 | #ifndef __PVSCSI_DXE_H_\r | |
13 | #define __PVSCSI_DXE_H_\r | |
14 | \r | |
15 | #include <Library/DebugLib.h>\r | |
16 | #include <Protocol/ScsiPassThruExt.h>\r | |
17 | \r | |
18 | #define PVSCSI_SIG SIGNATURE_32 ('P', 'S', 'C', 'S')\r | |
19 | \r | |
20 | typedef struct {\r | |
21 | UINT32 Signature;\r | |
c08eaaaf | 22 | EFI_PCI_IO_PROTOCOL *PciIo;\r |
7efce2e5 LA |
23 | UINT8 MaxTarget;\r |
24 | UINT8 MaxLun;\r | |
e497432c LA |
25 | EFI_EXT_SCSI_PASS_THRU_PROTOCOL PassThru;\r |
26 | EFI_EXT_SCSI_PASS_THRU_MODE PassThruMode;\r | |
27 | } PVSCSI_DEV;\r | |
28 | \r | |
29 | #define PVSCSI_FROM_PASS_THRU(PassThruPointer) \\r | |
30 | CR (PassThruPointer, PVSCSI_DEV, PassThru, PVSCSI_SIG)\r | |
31 | \r | |
32 | #endif // __PVSCSI_DXE_H_\r |