TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | PVSCSI_DMA_DESC |
struct | PVSCSI_RING_DESC |
struct | PVSCSI_DMA_BUFFER |
struct | PVSCSI_DEV |
Macros | |
#define | PVSCSI_SIG SIGNATURE_32 ('P', 'S', 'C', 'S') |
#define | PVSCSI_FROM_PASS_THRU(PassThruPointer) CR (PassThruPointer, PVSCSI_DEV, PassThru, PVSCSI_SIG) |
#define | PVSCSI_DMA_BUF_DEV_ADDR(Dev, MemberName) (Dev->DmaBufDmaDesc.DeviceAddress + OFFSET_OF(PVSCSI_DMA_BUFFER, MemberName)) |
Internal definitions for the PVSCSI driver, which produces Extended SCSI Pass Thru Protocol instances for pvscsi devices.
Copyright (C) 2020, Oracle and/or its affiliates.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PvScsi.h.
#define PVSCSI_DMA_BUF_DEV_ADDR | ( | Dev, | |
MemberName | |||
) | (Dev->DmaBufDmaDesc.DeviceAddress + OFFSET_OF(PVSCSI_DMA_BUFFER, MemberName)) |
#define PVSCSI_FROM_PASS_THRU | ( | PassThruPointer | ) | CR (PassThruPointer, PVSCSI_DEV, PassThru, PVSCSI_SIG) |
#define PVSCSI_SIG SIGNATURE_32 ('P', 'S', 'C', 'S') |