TianoCore EDK2 master
|
#include <IndustryStandard/Virtio.h>
Go to the source code of this file.
Data Structures | |
struct | VIRTIO_SCSI_CONFIG |
struct | VIRTIO_SCSI_REQ |
struct | VIRTIO_SCSI_RESP |
Macros | |
#define | OFFSET_OF_VSCSI(Field) OFFSET_OF (VIRTIO_SCSI_CONFIG, Field) |
#define | SIZE_OF_VSCSI(Field) (sizeof ((VIRTIO_SCSI_CONFIG *) 0)->Field) |
#define | VIRTIO_SCSI_F_INOUT BIT0 |
#define | VIRTIO_SCSI_F_HOTPLUG BIT1 |
#define | VIRTIO_SCSI_CDB_SIZE 32 |
#define | VIRTIO_SCSI_SENSE_SIZE 96 |
#define | VIRTIO_SCSI_REQUEST_QUEUE 2 |
#define | VIRTIO_SCSI_S_OK 0 |
#define | VIRTIO_SCSI_S_OVERRUN 1 |
#define | VIRTIO_SCSI_S_ABORTED 2 |
#define | VIRTIO_SCSI_S_BAD_TARGET 3 |
#define | VIRTIO_SCSI_S_RESET 4 |
#define | VIRTIO_SCSI_S_BUSY 5 |
#define | VIRTIO_SCSI_S_TRANSPORT_FAILURE 6 |
#define | VIRTIO_SCSI_S_TARGET_FAILURE 7 |
#define | VIRTIO_SCSI_S_NEXUS_FAILURE 8 |
#define | VIRTIO_SCSI_S_FAILURE 9 |
Virtio SCSI Host Device specific type and macro definitions corresponding to the virtio-0.9.5 specification.
Copyright (C) 2012, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file VirtioScsi.h.
#define OFFSET_OF_VSCSI | ( | Field | ) | OFFSET_OF (VIRTIO_SCSI_CONFIG, Field) |
Definition at line 35 of file VirtioScsi.h.
#define SIZE_OF_VSCSI | ( | Field | ) | (sizeof ((VIRTIO_SCSI_CONFIG *) 0)->Field) |
Definition at line 36 of file VirtioScsi.h.
#define VIRTIO_SCSI_CDB_SIZE 32 |
Definition at line 46 of file VirtioScsi.h.
#define VIRTIO_SCSI_F_HOTPLUG BIT1 |
Definition at line 39 of file VirtioScsi.h.
#define VIRTIO_SCSI_F_INOUT BIT0 |
Definition at line 38 of file VirtioScsi.h.
#define VIRTIO_SCSI_REQUEST_QUEUE 2 |
Definition at line 76 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_ABORTED 2 |
Definition at line 83 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_BAD_TARGET 3 |
Definition at line 84 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_BUSY 5 |
Definition at line 86 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_FAILURE 9 |
Definition at line 90 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_NEXUS_FAILURE 8 |
Definition at line 89 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_OK 0 |
Definition at line 81 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_OVERRUN 1 |
Definition at line 82 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_RESET 4 |
Definition at line 85 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_TARGET_FAILURE 7 |
Definition at line 88 of file VirtioScsi.h.
#define VIRTIO_SCSI_S_TRANSPORT_FAILURE 6 |
Definition at line 87 of file VirtioScsi.h.
#define VIRTIO_SCSI_SENSE_SIZE 96 |
Definition at line 47 of file VirtioScsi.h.