TianoCore EDK2 master
Loading...
Searching...
No Matches
Scsi.h File Reference

Go to the source code of this file.

Data Structures

struct  EFI_SCSI_INQUIRY_DATA
 
struct  EFI_SCSI_SUPPORTED_VPD_PAGES_VPD_PAGE
 
struct  EFI_SCSI_BLOCK_LIMITS_VPD_PAGE
 
struct  EFI_SCSI_SENSE_DATA
 
struct  EFI_SCSI_DISK_CAPACITY_DATA
 
struct  EFI_SCSI_DISK_CAPACITY_DATA16
 
struct  EFI_SCSI_DISK_UNMAP_PARAM_LIST_HEADER
 
struct  EFI_SCSI_DISK_UNMAP_BLOCK_DESP
 

Macros

#define EFI_SCSI_OP_CHANGE_DEFINITION   0x40
 
#define EFI_SCSI_OP_COMPARE   0x39
 
#define EFI_SCSI_OP_COPY   0x18
 
#define EFI_SCSI_OP_COPY_VERIFY   0x3a
 
#define EFI_SCSI_OP_INQUIRY   0x12
 
#define EFI_SCSI_OP_LOG_SELECT   0x4c
 
#define EFI_SCSI_OP_LOG_SENSE   0x4d
 
#define EFI_SCSI_OP_MODE_SEL6   0x15
 
#define EFI_SCSI_OP_MODE_SEL10   0x55
 
#define EFI_SCSI_OP_MODE_SEN6   0x1a
 
#define EFI_SCSI_OP_MODE_SEN10   0x5a
 
#define EFI_SCSI_OP_READ_BUFFER   0x3c
 
#define EFI_SCSI_OP_RECEIVE_DIAG   0x1c
 
#define EFI_SCSI_OP_REQUEST_SENSE   0x03
 
#define EFI_SCSI_OP_SEND_DIAG   0x1d
 
#define EFI_SCSI_OP_TEST_UNIT_READY   0x00
 
#define EFI_SCSI_OP_WRITE_BUFF   0x3b
 
#define EFI_SCSI_OP_FORMAT   0x04
 
#define EFI_SCSI_OP_LOCK_UN_CACHE   0x36
 
#define EFI_SCSI_OP_PREFETCH   0x34
 
#define EFI_SCSI_OP_MEDIA_REMOVAL   0x1e
 
#define EFI_SCSI_OP_READ6   0x08
 
#define EFI_SCSI_OP_READ10   0x28
 
#define EFI_SCSI_OP_READ16   0x88
 
#define EFI_SCSI_OP_READ_CAPACITY   0x25
 
#define EFI_SCSI_OP_READ_CAPACITY16   0x9e
 
#define EFI_SCSI_OP_READ_DEFECT   0x37
 
#define EFI_SCSI_OP_READ_LONG   0x3e
 
#define EFI_SCSI_OP_REASSIGN_BLK   0x07
 
#define EFI_SCSI_OP_RELEASE   0x17
 
#define EFI_SCSI_OP_REZERO   0x01
 
#define EFI_SCSI_OP_SEARCH_DATA_E   0x31
 
#define EFI_SCSI_OP_SEARCH_DATA_H   0x30
 
#define EFI_SCSI_OP_SEARCH_DATA_L   0x32
 
#define EFI_SCSI_OP_SEEK6   0x0b
 
#define EFI_SCSI_OP_SEEK10   0x2b
 
#define EFI_SCSI_OP_SEND_DIAG   0x1d
 
#define EFI_SCSI_OP_SET_LIMIT   0x33
 
#define EFI_SCSI_OP_START_STOP_UNIT   0x1b
 
#define EFI_SCSI_OP_SYNC_CACHE   0x35
 
#define EFI_SCSI_OP_VERIFY   0x2f
 
#define EFI_SCSI_OP_WRITE6   0x0a
 
#define EFI_SCSI_OP_WRITE10   0x2a
 
#define EFI_SCSI_OP_WRITE16   0x8a
 
#define EFI_SCSI_OP_WRITE_VERIFY   0x2e
 
#define EFI_SCSI_OP_WRITE_LONG   0x3f
 
#define EFI_SCSI_OP_WRITE_SAME   0x41
 
#define EFI_SCSI_OP_UNMAP   0x42
 
#define EFI_SCSI_OP_ERASE   0x19
 
#define EFI_SCSI_OP_LOAD_UNLOAD   0x1b
 
#define EFI_SCSI_OP_LOCATE   0x2b
 
#define EFI_SCSI_OP_READ_BLOCK_LIMIT   0x05
 
#define EFI_SCSI_OP_READ_POS   0x34
 
#define EFI_SCSI_OP_READ_REVERSE   0x0f
 
#define EFI_SCSI_OP_RECOVER_BUF_DATA   0x14
 
#define EFI_SCSI_OP_RESERVE_UNIT   0x16
 
#define EFI_SCSI_OP_REWIND   0x01
 
#define EFI_SCSI_OP_SPACE   0x11
 
#define EFI_SCSI_OP_VERIFY_TAPE   0x13
 
#define EFI_SCSI_OP_WRITE_FILEMARK   0x10
 
#define EFI_SCSI_OP_PRINT   0x0a
 
#define EFI_SCSI_OP_SLEW_PRINT   0x0b
 
#define EFI_SCSI_OP_STOP_PRINT   0x1b
 
#define EFI_SCSI_OP_SYNC_BUFF   0x10
 
#define EFI_SCSI_OP_RECEIVE   0x08
 
#define EFI_SCSI_OP_SEND   0x0a
 
#define EFI_SCSI_OP_MEDIUM_SCAN   0x38
 
#define EFI_SCSI_OP_SEARCH_DAT_E10   0x31
 
#define EFI_SCSI_OP_SEARCH_DAT_E12   0xb1
 
#define EFI_SCSI_OP_SEARCH_DAT_H10   0x30
 
#define EFI_SCSI_OP_SEARCH_DAT_H12   0xb0
 
#define EFI_SCSI_OP_SEARCH_DAT_L10   0x32
 
#define EFI_SCSI_OP_SEARCH_DAT_L12   0xb2
 
#define EFI_SCSI_OP_SET_LIMIT10   0x33
 
#define EFI_SCSI_OP_SET_LIMIT12   0xb3
 
#define EFI_SCSI_OP_VERIFY10   0x2f
 
#define EFI_SCSI_OP_VERIFY12   0xaf
 
#define EFI_SCSI_OP_WRITE12   0xaa
 
#define EFI_SCSI_OP_WRITE_VERIFY10   0x2e
 
#define EFI_SCSI_OP_WRITE_VERIFY12   0xae
 
#define EFI_SCSI_OP_PLAY_AUD_10   0x45
 
#define EFI_SCSI_OP_PLAY_AUD_12   0xa5
 
#define EFI_SCSI_OP_PLAY_AUD_MSF   0x47
 
#define EFI_SCSI_OP_PLAY_AUD_TKIN   0x48
 
#define EFI_SCSI_OP_PLAY_TK_REL10   0x49
 
#define EFI_SCSI_OP_PLAY_TK_REL12   0xa9
 
#define EFI_SCSI_OP_READ_CD_CAPACITY   0x25
 
#define EFI_SCSI_OP_READ_HEADER   0x44
 
#define EFI_SCSI_OP_READ_SUB_CHANNEL   0x42
 
#define EFI_SCSI_OP_READ_TOC   0x43
 
#define EFI_SCSI_OP_GET_DATABUFF_STAT   0x34
 
#define EFI_SCSI_OP_GET_WINDOW   0x25
 
#define EFI_SCSI_OP_OBJECT_POS   0x31
 
#define EFI_SCSI_OP_SCAN   0x1b
 
#define EFI_SCSI_OP_SET_WINDOW   0x24
 
#define EFI_SCSI_OP_UPDATE_BLOCK   0x3d
 
#define EFI_SCSI_OP_EXCHANGE_MEDIUM   0xa6
 
#define EFI_SCSI_OP_INIT_ELEMENT_STAT   0x07
 
#define EFI_SCSI_OP_POS_TO_ELEMENT   0x2b
 
#define EFI_SCSI_OP_REQUEST_VE_ADDR   0xb5
 
#define EFI_SCSI_OP_SEND_VOL_TAG   0xb6
 
#define EFI_SCSI_OP_GET_MESSAGE6   0x08
 
#define EFI_SCSI_OP_GET_MESSAGE10   0x28
 
#define EFI_SCSI_OP_GET_MESSAGE12   0xa8
 
#define EFI_SCSI_OP_SEND_MESSAGE6   0x0a
 
#define EFI_SCSI_OP_SEND_MESSAGE10   0x2a
 
#define EFI_SCSI_OP_SEND_MESSAGE12   0xaa
 
#define EFI_SCSI_OP_SECURITY_PROTOCOL_IN   0xa2
 
#define EFI_SCSI_OP_SECURITY_PROTOCOL_OUT   0xb5
 
#define EFI_SCSI_DATA_IN   0
 
#define EFI_SCSI_DATA_OUT   1
 
#define EFI_SCSI_BLOCK_FUA   BIT3
 Force Unit Access.
 
#define EFI_SCSI_BLOCK_DPO   BIT4
 Disable Page Out.
 
#define EFI_SCSI_TYPE_DISK   0x00
 Direct-access device (e.g. magnetic disk)
 
#define EFI_SCSI_TYPE_TAPE   0x01
 Sequential-access device (e.g. magnetic tape)
 
#define EFI_SCSI_TYPE_PRINTER   0x02
 Printer device.
 
#define EFI_SCSI_TYPE_PROCESSOR   0x03
 Processor device.
 
#define EFI_SCSI_TYPE_WORM   0x04
 Write-once device (e.g. some optical disks)
 
#define EFI_SCSI_TYPE_CDROM   0x05
 CD/DVD device.
 
#define EFI_SCSI_TYPE_SCANNER   0x06
 Scanner device (obsolete)
 
#define EFI_SCSI_TYPE_OPTICAL   0x07
 Optical memory device (e.g. some optical disks)
 
#define EFI_SCSI_TYPE_MEDIUMCHANGER   0x08
 Medium changer device (e.g. jukeboxes)
 
#define EFI_SCSI_TYPE_COMMUNICATION   0x09
 Communications device (obsolete)
 
#define EFI_SCSI_TYPE_ASCIT8_1   0x0A
 Defined by ASC IT8 (Graphic arts pre-press devices)
 
#define EFI_SCSI_TYPE_ASCIT8_2   0x0B
 Defined by ASC IT8 (Graphic arts pre-press devices)
 
#define EFI_SCSI_TYPE_RAID   0x0C
 Storage array controller device (e.g., RAID)
 
#define EFI_SCSI_TYPE_SES   0x0D
 Enclosure services device.
 
#define EFI_SCSI_TYPE_RBC   0x0E
 Simplified direct-access device (e.g., magnetic disk)
 
#define EFI_SCSI_TYPE_OCRW   0x0F
 Optical card reader/writer device.
 
#define EFI_SCSI_TYPE_BRIDGE   0x10
 Bridge Controller Commands.
 
#define EFI_SCSI_TYPE_OSD   0x11
 Object-based Storage Device.
 
#define EFI_SCSI_TYPE_AUTOMATION   0x12
 Automation/Drive Interface.
 
#define EFI_SCSI_TYPE_SECURITYMANAGER   0x13
 Security manager device.
 
#define EFI_SCSI_TYPE_RESERVED_LOW   0x14
 Reserved (low)
 
#define EFI_SCSI_TYPE_RESERVED_HIGH   0x1D
 Reserved (high)
 
#define EFI_SCSI_TYPE_WLUN   0x1E
 Well known logical unit.
 
#define EFI_SCSI_TYPE_UNKNOWN   0x1F
 Unknown or no device type.
 
#define EFI_SCSI_PAGE_CODE_SUPPORTED_VPD   0x00
 
#define EFI_SCSI_PAGE_CODE_BLOCK_LIMITS_VPD   0xB0
 
#define EFI_SCSI_SK_NO_SENSE   (0x0)
 
#define EFI_SCSI_SK_RECOVERY_ERROR   (0x1)
 
#define EFI_SCSI_SK_NOT_READY   (0x2)
 
#define EFI_SCSI_SK_MEDIUM_ERROR   (0x3)
 
#define EFI_SCSI_SK_HARDWARE_ERROR   (0x4)
 
#define EFI_SCSI_SK_ILLEGAL_REQUEST   (0x5)
 
#define EFI_SCSI_SK_UNIT_ATTENTION   (0x6)
 
#define EFI_SCSI_SK_DATA_PROTECT   (0x7)
 
#define EFI_SCSI_SK_BLANK_CHECK   (0x8)
 
#define EFI_SCSI_SK_VENDOR_SPECIFIC   (0x9)
 
#define EFI_SCSI_SK_RESERVED_A   (0xA)
 
#define EFI_SCSI_SK_ABORT   (0xB)
 
#define EFI_SCSI_SK_RESERVED_C   (0xC)
 
#define EFI_SCSI_SK_OVERFLOW   (0xD)
 
#define EFI_SCSI_SK_MISCOMPARE   (0xE)
 
#define EFI_SCSI_SK_RESERVED_F   (0xF)
 
#define EFI_SCSI_ASC_NOT_READY   (0x04)
 
#define EFI_SCSI_ASCQ_IN_PROGRESS   (0x01)
 
#define EFI_SCSI_ASC_MEDIA_ERR1   (0x10)
 
#define EFI_SCSI_ASC_MEDIA_ERR2   (0x11)
 
#define EFI_SCSI_ASC_MEDIA_ERR3   (0x14)
 
#define EFI_SCSI_ASC_MEDIA_ERR4   (0x30)
 
#define EFI_SCSI_ASC_MEDIA_UPSIDE_DOWN   (0x06)
 
#define EFI_SCSI_ASC_INVALID_CMD   (0x20)
 
#define EFI_SCSI_ASC_LBA_OUT_OF_RANGE   (0x21)
 
#define EFI_SCSI_ASC_INVALID_FIELD   (0x24)
 
#define EFI_SCSI_ASC_WRITE_PROTECTED   (0x27)
 
#define EFI_SCSI_ASC_MEDIA_CHANGE   (0x28)
 
#define EFI_SCSI_ASC_RESET   (0x29)
 Power On Reset or Bus Reset occurred.
 
#define EFI_SCSI_ASC_ILLEGAL_FIELD   (0x26)
 
#define EFI_SCSI_ASC_NO_MEDIA   (0x3A)
 
#define EFI_SCSI_ASC_ILLEGAL_MODE_FOR_THIS_TRACK   (0x64)
 

Detailed Description

Support for SCSI-2 standard

Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Scsi.h.

Macro Definition Documentation

◆ EFI_SCSI_ASC_ILLEGAL_FIELD

#define EFI_SCSI_ASC_ILLEGAL_FIELD   (0x26)

Definition at line 421 of file Scsi.h.

◆ EFI_SCSI_ASC_ILLEGAL_MODE_FOR_THIS_TRACK

#define EFI_SCSI_ASC_ILLEGAL_MODE_FOR_THIS_TRACK   (0x64)

Definition at line 423 of file Scsi.h.

◆ EFI_SCSI_ASC_INVALID_CMD

#define EFI_SCSI_ASC_INVALID_CMD   (0x20)

Definition at line 415 of file Scsi.h.

◆ EFI_SCSI_ASC_INVALID_FIELD

#define EFI_SCSI_ASC_INVALID_FIELD   (0x24)

Definition at line 417 of file Scsi.h.

◆ EFI_SCSI_ASC_LBA_OUT_OF_RANGE

#define EFI_SCSI_ASC_LBA_OUT_OF_RANGE   (0x21)

Definition at line 416 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_CHANGE

#define EFI_SCSI_ASC_MEDIA_CHANGE   (0x28)

Definition at line 419 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_ERR1

#define EFI_SCSI_ASC_MEDIA_ERR1   (0x10)

Definition at line 410 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_ERR2

#define EFI_SCSI_ASC_MEDIA_ERR2   (0x11)

Definition at line 411 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_ERR3

#define EFI_SCSI_ASC_MEDIA_ERR3   (0x14)

Definition at line 412 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_ERR4

#define EFI_SCSI_ASC_MEDIA_ERR4   (0x30)

Definition at line 413 of file Scsi.h.

◆ EFI_SCSI_ASC_MEDIA_UPSIDE_DOWN

#define EFI_SCSI_ASC_MEDIA_UPSIDE_DOWN   (0x06)

Definition at line 414 of file Scsi.h.

◆ EFI_SCSI_ASC_NO_MEDIA

#define EFI_SCSI_ASC_NO_MEDIA   (0x3A)

Definition at line 422 of file Scsi.h.

◆ EFI_SCSI_ASC_NOT_READY

#define EFI_SCSI_ASC_NOT_READY   (0x04)

Definition at line 407 of file Scsi.h.

◆ EFI_SCSI_ASC_RESET

#define EFI_SCSI_ASC_RESET   (0x29)

Power On Reset or Bus Reset occurred.

Definition at line 420 of file Scsi.h.

◆ EFI_SCSI_ASC_WRITE_PROTECTED

#define EFI_SCSI_ASC_WRITE_PROTECTED   (0x27)

Definition at line 418 of file Scsi.h.

◆ EFI_SCSI_ASCQ_IN_PROGRESS

#define EFI_SCSI_ASCQ_IN_PROGRESS   (0x01)

Definition at line 408 of file Scsi.h.

◆ EFI_SCSI_BLOCK_DPO

#define EFI_SCSI_BLOCK_DPO   BIT4

Disable Page Out.

Definition at line 182 of file Scsi.h.

◆ EFI_SCSI_BLOCK_FUA

#define EFI_SCSI_BLOCK_FUA   BIT3

Force Unit Access.

Definition at line 181 of file Scsi.h.

◆ EFI_SCSI_DATA_IN

#define EFI_SCSI_DATA_IN   0

Definition at line 175 of file Scsi.h.

◆ EFI_SCSI_DATA_OUT

#define EFI_SCSI_DATA_OUT   1

Definition at line 176 of file Scsi.h.

◆ EFI_SCSI_OP_CHANGE_DEFINITION

#define EFI_SCSI_OP_CHANGE_DEFINITION   0x40

Definition at line 18 of file Scsi.h.

◆ EFI_SCSI_OP_COMPARE

#define EFI_SCSI_OP_COMPARE   0x39

Definition at line 19 of file Scsi.h.

◆ EFI_SCSI_OP_COPY

#define EFI_SCSI_OP_COPY   0x18

Definition at line 20 of file Scsi.h.

◆ EFI_SCSI_OP_COPY_VERIFY

#define EFI_SCSI_OP_COPY_VERIFY   0x3a

Definition at line 21 of file Scsi.h.

◆ EFI_SCSI_OP_ERASE

#define EFI_SCSI_OP_ERASE   0x19

Definition at line 74 of file Scsi.h.

◆ EFI_SCSI_OP_EXCHANGE_MEDIUM

#define EFI_SCSI_OP_EXCHANGE_MEDIUM   0xa6

Definition at line 150 of file Scsi.h.

◆ EFI_SCSI_OP_FORMAT

#define EFI_SCSI_OP_FORMAT   0x04

Definition at line 39 of file Scsi.h.

◆ EFI_SCSI_OP_GET_DATABUFF_STAT

#define EFI_SCSI_OP_GET_DATABUFF_STAT   0x34

Definition at line 136 of file Scsi.h.

◆ EFI_SCSI_OP_GET_MESSAGE10

#define EFI_SCSI_OP_GET_MESSAGE10   0x28

Definition at line 160 of file Scsi.h.

◆ EFI_SCSI_OP_GET_MESSAGE12

#define EFI_SCSI_OP_GET_MESSAGE12   0xa8

Definition at line 161 of file Scsi.h.

◆ EFI_SCSI_OP_GET_MESSAGE6

#define EFI_SCSI_OP_GET_MESSAGE6   0x08

Definition at line 159 of file Scsi.h.

◆ EFI_SCSI_OP_GET_WINDOW

#define EFI_SCSI_OP_GET_WINDOW   0x25

Definition at line 137 of file Scsi.h.

◆ EFI_SCSI_OP_INIT_ELEMENT_STAT

#define EFI_SCSI_OP_INIT_ELEMENT_STAT   0x07

Definition at line 151 of file Scsi.h.

◆ EFI_SCSI_OP_INQUIRY

#define EFI_SCSI_OP_INQUIRY   0x12

Definition at line 22 of file Scsi.h.

◆ EFI_SCSI_OP_LOAD_UNLOAD

#define EFI_SCSI_OP_LOAD_UNLOAD   0x1b

Definition at line 75 of file Scsi.h.

◆ EFI_SCSI_OP_LOCATE

#define EFI_SCSI_OP_LOCATE   0x2b

Definition at line 76 of file Scsi.h.

◆ EFI_SCSI_OP_LOCK_UN_CACHE

#define EFI_SCSI_OP_LOCK_UN_CACHE   0x36

Definition at line 40 of file Scsi.h.

◆ EFI_SCSI_OP_LOG_SELECT

#define EFI_SCSI_OP_LOG_SELECT   0x4c

Definition at line 23 of file Scsi.h.

◆ EFI_SCSI_OP_LOG_SENSE

#define EFI_SCSI_OP_LOG_SENSE   0x4d

Definition at line 24 of file Scsi.h.

◆ EFI_SCSI_OP_MEDIA_REMOVAL

#define EFI_SCSI_OP_MEDIA_REMOVAL   0x1e

Definition at line 42 of file Scsi.h.

◆ EFI_SCSI_OP_MEDIUM_SCAN

#define EFI_SCSI_OP_MEDIUM_SCAN   0x38

Definition at line 104 of file Scsi.h.

◆ EFI_SCSI_OP_MODE_SEL10

#define EFI_SCSI_OP_MODE_SEL10   0x55

Definition at line 26 of file Scsi.h.

◆ EFI_SCSI_OP_MODE_SEL6

#define EFI_SCSI_OP_MODE_SEL6   0x15

Definition at line 25 of file Scsi.h.

◆ EFI_SCSI_OP_MODE_SEN10

#define EFI_SCSI_OP_MODE_SEN10   0x5a

Definition at line 28 of file Scsi.h.

◆ EFI_SCSI_OP_MODE_SEN6

#define EFI_SCSI_OP_MODE_SEN6   0x1a

Definition at line 27 of file Scsi.h.

◆ EFI_SCSI_OP_OBJECT_POS

#define EFI_SCSI_OP_OBJECT_POS   0x31

Definition at line 138 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_AUD_10

#define EFI_SCSI_OP_PLAY_AUD_10   0x45

Definition at line 122 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_AUD_12

#define EFI_SCSI_OP_PLAY_AUD_12   0xa5

Definition at line 123 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_AUD_MSF

#define EFI_SCSI_OP_PLAY_AUD_MSF   0x47

Definition at line 124 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_AUD_TKIN

#define EFI_SCSI_OP_PLAY_AUD_TKIN   0x48

Definition at line 125 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_TK_REL10

#define EFI_SCSI_OP_PLAY_TK_REL10   0x49

Definition at line 126 of file Scsi.h.

◆ EFI_SCSI_OP_PLAY_TK_REL12

#define EFI_SCSI_OP_PLAY_TK_REL12   0xa9

Definition at line 127 of file Scsi.h.

◆ EFI_SCSI_OP_POS_TO_ELEMENT

#define EFI_SCSI_OP_POS_TO_ELEMENT   0x2b

Definition at line 152 of file Scsi.h.

◆ EFI_SCSI_OP_PREFETCH

#define EFI_SCSI_OP_PREFETCH   0x34

Definition at line 41 of file Scsi.h.

◆ EFI_SCSI_OP_PRINT

#define EFI_SCSI_OP_PRINT   0x0a

Definition at line 90 of file Scsi.h.

◆ EFI_SCSI_OP_READ10

#define EFI_SCSI_OP_READ10   0x28

Definition at line 44 of file Scsi.h.

◆ EFI_SCSI_OP_READ16

#define EFI_SCSI_OP_READ16   0x88

Definition at line 45 of file Scsi.h.

◆ EFI_SCSI_OP_READ6

#define EFI_SCSI_OP_READ6   0x08

Definition at line 43 of file Scsi.h.

◆ EFI_SCSI_OP_READ_BLOCK_LIMIT

#define EFI_SCSI_OP_READ_BLOCK_LIMIT   0x05

Definition at line 77 of file Scsi.h.

◆ EFI_SCSI_OP_READ_BUFFER

#define EFI_SCSI_OP_READ_BUFFER   0x3c

Definition at line 29 of file Scsi.h.

◆ EFI_SCSI_OP_READ_CAPACITY

#define EFI_SCSI_OP_READ_CAPACITY   0x25

Definition at line 46 of file Scsi.h.

◆ EFI_SCSI_OP_READ_CAPACITY16

#define EFI_SCSI_OP_READ_CAPACITY16   0x9e

Definition at line 47 of file Scsi.h.

◆ EFI_SCSI_OP_READ_CD_CAPACITY

#define EFI_SCSI_OP_READ_CD_CAPACITY   0x25

Definition at line 128 of file Scsi.h.

◆ EFI_SCSI_OP_READ_DEFECT

#define EFI_SCSI_OP_READ_DEFECT   0x37

Definition at line 48 of file Scsi.h.

◆ EFI_SCSI_OP_READ_HEADER

#define EFI_SCSI_OP_READ_HEADER   0x44

Definition at line 129 of file Scsi.h.

◆ EFI_SCSI_OP_READ_LONG

#define EFI_SCSI_OP_READ_LONG   0x3e

Definition at line 49 of file Scsi.h.

◆ EFI_SCSI_OP_READ_POS

#define EFI_SCSI_OP_READ_POS   0x34

Definition at line 78 of file Scsi.h.

◆ EFI_SCSI_OP_READ_REVERSE

#define EFI_SCSI_OP_READ_REVERSE   0x0f

Definition at line 79 of file Scsi.h.

◆ EFI_SCSI_OP_READ_SUB_CHANNEL

#define EFI_SCSI_OP_READ_SUB_CHANNEL   0x42

Definition at line 130 of file Scsi.h.

◆ EFI_SCSI_OP_READ_TOC

#define EFI_SCSI_OP_READ_TOC   0x43

Definition at line 131 of file Scsi.h.

◆ EFI_SCSI_OP_REASSIGN_BLK

#define EFI_SCSI_OP_REASSIGN_BLK   0x07

Definition at line 50 of file Scsi.h.

◆ EFI_SCSI_OP_RECEIVE

#define EFI_SCSI_OP_RECEIVE   0x08

Definition at line 98 of file Scsi.h.

◆ EFI_SCSI_OP_RECEIVE_DIAG

#define EFI_SCSI_OP_RECEIVE_DIAG   0x1c

Definition at line 30 of file Scsi.h.

◆ EFI_SCSI_OP_RECOVER_BUF_DATA

#define EFI_SCSI_OP_RECOVER_BUF_DATA   0x14

Definition at line 80 of file Scsi.h.

◆ EFI_SCSI_OP_RELEASE

#define EFI_SCSI_OP_RELEASE   0x17

Definition at line 51 of file Scsi.h.

◆ EFI_SCSI_OP_REQUEST_SENSE

#define EFI_SCSI_OP_REQUEST_SENSE   0x03

Definition at line 31 of file Scsi.h.

◆ EFI_SCSI_OP_REQUEST_VE_ADDR

#define EFI_SCSI_OP_REQUEST_VE_ADDR   0xb5

Definition at line 153 of file Scsi.h.

◆ EFI_SCSI_OP_RESERVE_UNIT

#define EFI_SCSI_OP_RESERVE_UNIT   0x16

Definition at line 81 of file Scsi.h.

◆ EFI_SCSI_OP_REWIND

#define EFI_SCSI_OP_REWIND   0x01

Definition at line 82 of file Scsi.h.

◆ EFI_SCSI_OP_REZERO

#define EFI_SCSI_OP_REZERO   0x01

Definition at line 52 of file Scsi.h.

◆ EFI_SCSI_OP_SCAN

#define EFI_SCSI_OP_SCAN   0x1b

Definition at line 139 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_E10

#define EFI_SCSI_OP_SEARCH_DAT_E10   0x31

Definition at line 105 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_E12

#define EFI_SCSI_OP_SEARCH_DAT_E12   0xb1

Definition at line 106 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_H10

#define EFI_SCSI_OP_SEARCH_DAT_H10   0x30

Definition at line 107 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_H12

#define EFI_SCSI_OP_SEARCH_DAT_H12   0xb0

Definition at line 108 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_L10

#define EFI_SCSI_OP_SEARCH_DAT_L10   0x32

Definition at line 109 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DAT_L12

#define EFI_SCSI_OP_SEARCH_DAT_L12   0xb2

Definition at line 110 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DATA_E

#define EFI_SCSI_OP_SEARCH_DATA_E   0x31

Definition at line 53 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DATA_H

#define EFI_SCSI_OP_SEARCH_DATA_H   0x30

Definition at line 54 of file Scsi.h.

◆ EFI_SCSI_OP_SEARCH_DATA_L

#define EFI_SCSI_OP_SEARCH_DATA_L   0x32

Definition at line 55 of file Scsi.h.

◆ EFI_SCSI_OP_SECURITY_PROTOCOL_IN

#define EFI_SCSI_OP_SECURITY_PROTOCOL_IN   0xa2

Definition at line 169 of file Scsi.h.

◆ EFI_SCSI_OP_SECURITY_PROTOCOL_OUT

#define EFI_SCSI_OP_SECURITY_PROTOCOL_OUT   0xb5

Definition at line 170 of file Scsi.h.

◆ EFI_SCSI_OP_SEEK10

#define EFI_SCSI_OP_SEEK10   0x2b

Definition at line 57 of file Scsi.h.

◆ EFI_SCSI_OP_SEEK6

#define EFI_SCSI_OP_SEEK6   0x0b

Definition at line 56 of file Scsi.h.

◆ EFI_SCSI_OP_SEND

#define EFI_SCSI_OP_SEND   0x0a

Definition at line 99 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_DIAG [1/2]

#define EFI_SCSI_OP_SEND_DIAG   0x1d

Definition at line 58 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_DIAG [2/2]

#define EFI_SCSI_OP_SEND_DIAG   0x1d

Definition at line 58 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_MESSAGE10

#define EFI_SCSI_OP_SEND_MESSAGE10   0x2a

Definition at line 163 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_MESSAGE12

#define EFI_SCSI_OP_SEND_MESSAGE12   0xaa

Definition at line 164 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_MESSAGE6

#define EFI_SCSI_OP_SEND_MESSAGE6   0x0a

Definition at line 162 of file Scsi.h.

◆ EFI_SCSI_OP_SEND_VOL_TAG

#define EFI_SCSI_OP_SEND_VOL_TAG   0xb6

Definition at line 154 of file Scsi.h.

◆ EFI_SCSI_OP_SET_LIMIT

#define EFI_SCSI_OP_SET_LIMIT   0x33

Definition at line 59 of file Scsi.h.

◆ EFI_SCSI_OP_SET_LIMIT10

#define EFI_SCSI_OP_SET_LIMIT10   0x33

Definition at line 111 of file Scsi.h.

◆ EFI_SCSI_OP_SET_LIMIT12

#define EFI_SCSI_OP_SET_LIMIT12   0xb3

Definition at line 112 of file Scsi.h.

◆ EFI_SCSI_OP_SET_WINDOW

#define EFI_SCSI_OP_SET_WINDOW   0x24

Definition at line 140 of file Scsi.h.

◆ EFI_SCSI_OP_SLEW_PRINT

#define EFI_SCSI_OP_SLEW_PRINT   0x0b

Definition at line 91 of file Scsi.h.

◆ EFI_SCSI_OP_SPACE

#define EFI_SCSI_OP_SPACE   0x11

Definition at line 83 of file Scsi.h.

◆ EFI_SCSI_OP_START_STOP_UNIT

#define EFI_SCSI_OP_START_STOP_UNIT   0x1b

Definition at line 60 of file Scsi.h.

◆ EFI_SCSI_OP_STOP_PRINT

#define EFI_SCSI_OP_STOP_PRINT   0x1b

Definition at line 92 of file Scsi.h.

◆ EFI_SCSI_OP_SYNC_BUFF

#define EFI_SCSI_OP_SYNC_BUFF   0x10

Definition at line 93 of file Scsi.h.

◆ EFI_SCSI_OP_SYNC_CACHE

#define EFI_SCSI_OP_SYNC_CACHE   0x35

Definition at line 61 of file Scsi.h.

◆ EFI_SCSI_OP_TEST_UNIT_READY

#define EFI_SCSI_OP_TEST_UNIT_READY   0x00

Definition at line 33 of file Scsi.h.

◆ EFI_SCSI_OP_UNMAP

#define EFI_SCSI_OP_UNMAP   0x42

Definition at line 69 of file Scsi.h.

◆ EFI_SCSI_OP_UPDATE_BLOCK

#define EFI_SCSI_OP_UPDATE_BLOCK   0x3d

Definition at line 145 of file Scsi.h.

◆ EFI_SCSI_OP_VERIFY

#define EFI_SCSI_OP_VERIFY   0x2f

Definition at line 62 of file Scsi.h.

◆ EFI_SCSI_OP_VERIFY10

#define EFI_SCSI_OP_VERIFY10   0x2f

Definition at line 113 of file Scsi.h.

◆ EFI_SCSI_OP_VERIFY12

#define EFI_SCSI_OP_VERIFY12   0xaf

Definition at line 114 of file Scsi.h.

◆ EFI_SCSI_OP_VERIFY_TAPE

#define EFI_SCSI_OP_VERIFY_TAPE   0x13

Definition at line 84 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE10

#define EFI_SCSI_OP_WRITE10   0x2a

Definition at line 64 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE12

#define EFI_SCSI_OP_WRITE12   0xaa

Definition at line 115 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE16

#define EFI_SCSI_OP_WRITE16   0x8a

Definition at line 65 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE6

#define EFI_SCSI_OP_WRITE6   0x0a

Definition at line 63 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_BUFF

#define EFI_SCSI_OP_WRITE_BUFF   0x3b

Definition at line 34 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_FILEMARK

#define EFI_SCSI_OP_WRITE_FILEMARK   0x10

Definition at line 85 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_LONG

#define EFI_SCSI_OP_WRITE_LONG   0x3f

Definition at line 67 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_SAME

#define EFI_SCSI_OP_WRITE_SAME   0x41

Definition at line 68 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_VERIFY

#define EFI_SCSI_OP_WRITE_VERIFY   0x2e

Definition at line 66 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_VERIFY10

#define EFI_SCSI_OP_WRITE_VERIFY10   0x2e

Definition at line 116 of file Scsi.h.

◆ EFI_SCSI_OP_WRITE_VERIFY12

#define EFI_SCSI_OP_WRITE_VERIFY12   0xae

Definition at line 117 of file Scsi.h.

◆ EFI_SCSI_PAGE_CODE_BLOCK_LIMITS_VPD

#define EFI_SCSI_PAGE_CODE_BLOCK_LIMITS_VPD   0xB0

Definition at line 216 of file Scsi.h.

◆ EFI_SCSI_PAGE_CODE_SUPPORTED_VPD

#define EFI_SCSI_PAGE_CODE_SUPPORTED_VPD   0x00

Definition at line 215 of file Scsi.h.

◆ EFI_SCSI_SK_ABORT

#define EFI_SCSI_SK_ABORT   (0xB)

Definition at line 396 of file Scsi.h.

◆ EFI_SCSI_SK_BLANK_CHECK

#define EFI_SCSI_SK_BLANK_CHECK   (0x8)

Definition at line 393 of file Scsi.h.

◆ EFI_SCSI_SK_DATA_PROTECT

#define EFI_SCSI_SK_DATA_PROTECT   (0x7)

Definition at line 392 of file Scsi.h.

◆ EFI_SCSI_SK_HARDWARE_ERROR

#define EFI_SCSI_SK_HARDWARE_ERROR   (0x4)

Definition at line 389 of file Scsi.h.

◆ EFI_SCSI_SK_ILLEGAL_REQUEST

#define EFI_SCSI_SK_ILLEGAL_REQUEST   (0x5)

Definition at line 390 of file Scsi.h.

◆ EFI_SCSI_SK_MEDIUM_ERROR

#define EFI_SCSI_SK_MEDIUM_ERROR   (0x3)

Definition at line 388 of file Scsi.h.

◆ EFI_SCSI_SK_MISCOMPARE

#define EFI_SCSI_SK_MISCOMPARE   (0xE)

Definition at line 399 of file Scsi.h.

◆ EFI_SCSI_SK_NO_SENSE

#define EFI_SCSI_SK_NO_SENSE   (0x0)

Definition at line 385 of file Scsi.h.

◆ EFI_SCSI_SK_NOT_READY

#define EFI_SCSI_SK_NOT_READY   (0x2)

Definition at line 387 of file Scsi.h.

◆ EFI_SCSI_SK_OVERFLOW

#define EFI_SCSI_SK_OVERFLOW   (0xD)

Definition at line 398 of file Scsi.h.

◆ EFI_SCSI_SK_RECOVERY_ERROR

#define EFI_SCSI_SK_RECOVERY_ERROR   (0x1)

Definition at line 386 of file Scsi.h.

◆ EFI_SCSI_SK_RESERVED_A

#define EFI_SCSI_SK_RESERVED_A   (0xA)

Definition at line 395 of file Scsi.h.

◆ EFI_SCSI_SK_RESERVED_C

#define EFI_SCSI_SK_RESERVED_C   (0xC)

Definition at line 397 of file Scsi.h.

◆ EFI_SCSI_SK_RESERVED_F

#define EFI_SCSI_SK_RESERVED_F   (0xF)

Definition at line 400 of file Scsi.h.

◆ EFI_SCSI_SK_UNIT_ATTENTION

#define EFI_SCSI_SK_UNIT_ATTENTION   (0x6)

Definition at line 391 of file Scsi.h.

◆ EFI_SCSI_SK_VENDOR_SPECIFIC

#define EFI_SCSI_SK_VENDOR_SPECIFIC   (0x9)

Definition at line 394 of file Scsi.h.

◆ EFI_SCSI_TYPE_ASCIT8_1

#define EFI_SCSI_TYPE_ASCIT8_1   0x0A

Defined by ASC IT8 (Graphic arts pre-press devices)

Definition at line 197 of file Scsi.h.

◆ EFI_SCSI_TYPE_ASCIT8_2

#define EFI_SCSI_TYPE_ASCIT8_2   0x0B

Defined by ASC IT8 (Graphic arts pre-press devices)

Definition at line 198 of file Scsi.h.

◆ EFI_SCSI_TYPE_AUTOMATION

#define EFI_SCSI_TYPE_AUTOMATION   0x12

Automation/Drive Interface.

Definition at line 205 of file Scsi.h.

◆ EFI_SCSI_TYPE_BRIDGE

#define EFI_SCSI_TYPE_BRIDGE   0x10

Bridge Controller Commands.

Definition at line 203 of file Scsi.h.

◆ EFI_SCSI_TYPE_CDROM

#define EFI_SCSI_TYPE_CDROM   0x05

CD/DVD device.

Definition at line 192 of file Scsi.h.

◆ EFI_SCSI_TYPE_COMMUNICATION

#define EFI_SCSI_TYPE_COMMUNICATION   0x09

Communications device (obsolete)

Definition at line 196 of file Scsi.h.

◆ EFI_SCSI_TYPE_DISK

#define EFI_SCSI_TYPE_DISK   0x00

Direct-access device (e.g. magnetic disk)

Definition at line 187 of file Scsi.h.

◆ EFI_SCSI_TYPE_MEDIUMCHANGER

#define EFI_SCSI_TYPE_MEDIUMCHANGER   0x08

Medium changer device (e.g. jukeboxes)

Definition at line 195 of file Scsi.h.

◆ EFI_SCSI_TYPE_OCRW

#define EFI_SCSI_TYPE_OCRW   0x0F

Optical card reader/writer device.

Definition at line 202 of file Scsi.h.

◆ EFI_SCSI_TYPE_OPTICAL

#define EFI_SCSI_TYPE_OPTICAL   0x07

Optical memory device (e.g. some optical disks)

Definition at line 194 of file Scsi.h.

◆ EFI_SCSI_TYPE_OSD

#define EFI_SCSI_TYPE_OSD   0x11

Object-based Storage Device.

Definition at line 204 of file Scsi.h.

◆ EFI_SCSI_TYPE_PRINTER

#define EFI_SCSI_TYPE_PRINTER   0x02

Printer device.

Definition at line 189 of file Scsi.h.

◆ EFI_SCSI_TYPE_PROCESSOR

#define EFI_SCSI_TYPE_PROCESSOR   0x03

Processor device.

Definition at line 190 of file Scsi.h.

◆ EFI_SCSI_TYPE_RAID

#define EFI_SCSI_TYPE_RAID   0x0C

Storage array controller device (e.g., RAID)

Definition at line 199 of file Scsi.h.

◆ EFI_SCSI_TYPE_RBC

#define EFI_SCSI_TYPE_RBC   0x0E

Simplified direct-access device (e.g., magnetic disk)

Definition at line 201 of file Scsi.h.

◆ EFI_SCSI_TYPE_RESERVED_HIGH

#define EFI_SCSI_TYPE_RESERVED_HIGH   0x1D

Reserved (high)

Definition at line 208 of file Scsi.h.

◆ EFI_SCSI_TYPE_RESERVED_LOW

#define EFI_SCSI_TYPE_RESERVED_LOW   0x14

Reserved (low)

Definition at line 207 of file Scsi.h.

◆ EFI_SCSI_TYPE_SCANNER

#define EFI_SCSI_TYPE_SCANNER   0x06

Scanner device (obsolete)

Definition at line 193 of file Scsi.h.

◆ EFI_SCSI_TYPE_SECURITYMANAGER

#define EFI_SCSI_TYPE_SECURITYMANAGER   0x13

Security manager device.

Definition at line 206 of file Scsi.h.

◆ EFI_SCSI_TYPE_SES

#define EFI_SCSI_TYPE_SES   0x0D

Enclosure services device.

Definition at line 200 of file Scsi.h.

◆ EFI_SCSI_TYPE_TAPE

#define EFI_SCSI_TYPE_TAPE   0x01

Sequential-access device (e.g. magnetic tape)

Definition at line 188 of file Scsi.h.

◆ EFI_SCSI_TYPE_UNKNOWN

#define EFI_SCSI_TYPE_UNKNOWN   0x1F

Unknown or no device type.

Definition at line 210 of file Scsi.h.

◆ EFI_SCSI_TYPE_WLUN

#define EFI_SCSI_TYPE_WLUN   0x1E

Well known logical unit.

Definition at line 209 of file Scsi.h.

◆ EFI_SCSI_TYPE_WORM

#define EFI_SCSI_TYPE_WORM   0x04

Write-once device (e.g. some optical disks)

Definition at line 191 of file Scsi.h.