Mac Developer Library

Developer

SCSICommandDefinitions.h Reference

Options
Deployment Target:

On This Page

SCSICommandDefinitions.h Reference

This file contains all the definitions for types and constants that are used by the command set classes for building CDBs. The field type definitions are used for the parameters passed to a method that builds and sends any SCSI defined command to clearly identify the type of value expected for a parameter.

The command methods will then use the appropriate mask to verify that the value passed into a parameter is of the specified type.

Currently only types and masks are defined for 8 bytes and smaller fields. If a command is defined that uses a larger field, these should be expanded to include those sizes.

Included Headers

  • <IOKit/IOTypes.h>

  • <CoreFoundation/CoreFoundation.h>

Data Types

See the Overview section above for header-level documentation.

Constants

See the Overview section above for header-level documentation.

  • Declaration

    #define kSCSICmdFieldMask10Bit 0x03FF #define kSCSICmdFieldMask11Bit 0x07FF #define kSCSICmdFieldMask12Bit 0x0FFF #define kSCSICmdFieldMask13Bit 0x1FFF #define kSCSICmdFieldMask14Bit 0x3FFF #define kSCSICmdFieldMask15Bit 0x7FFF #define kSCSICmdFieldMask17Bit 0x01FFFF #define kSCSICmdFieldMask18Bit 0x03FFFF #define kSCSICmdFieldMask19Bit 0x07FFFF #define kSCSICmdFieldMask1Bit 0x01 #define kSCSICmdFieldMask20Bit 0x0FFFFF #define kSCSICmdFieldMask21Bit 0x1FFFFF #define kSCSICmdFieldMask22Bit 0x3FFFFF #define kSCSICmdFieldMask23Bit 0x7FFFFF #define kSCSICmdFieldMask25Bit 0x01FFFFFFUL #define kSCSICmdFieldMask26Bit 0x03FFFFFFUL #define kSCSICmdFieldMask27Bit 0x07FFFFFFUL #define kSCSICmdFieldMask28Bit 0x0FFFFFFFUL #define kSCSICmdFieldMask29Bit 0x1FFFFFFFUL #define kSCSICmdFieldMask2Bit 0x03 #define kSCSICmdFieldMask2Byte 0xFFFF #define kSCSICmdFieldMask30Bit 0x3FFFFFFFUL #define kSCSICmdFieldMask31Bit 0x7FFFFFFFUL #define kSCSICmdFieldMask33Bit 0x01FFFFFFFFULL #define kSCSICmdFieldMask34Bit 0x03FFFFFFFFULL #define kSCSICmdFieldMask35Bit 0x07FFFFFFFFULL #define kSCSICmdFieldMask36Bit 0x0FFFFFFFFFULL #define kSCSICmdFieldMask37Bit 0x1FFFFFFFFFULL #define kSCSICmdFieldMask38Bit 0x3FFFFFFFFFULL #define kSCSICmdFieldMask39Bit 0x7FFFFFFFFFULL #define kSCSICmdFieldMask3Bit 0x07 #define kSCSICmdFieldMask3Byte 0xFFFFFF #define kSCSICmdFieldMask41Bit 0x01FFFFFFFFFFULL #define kSCSICmdFieldMask42Bit 0x03FFFFFFFFFFULL #define kSCSICmdFieldMask43Bit 0x07FFFFFFFFFFULL #define kSCSICmdFieldMask44Bit 0x0FFFFFFFFFFFULL #define kSCSICmdFieldMask45Bit 0x1FFFFFFFFFFFULL #define kSCSICmdFieldMask46Bit 0x3FFFFFFFFFFFULL #define kSCSICmdFieldMask47Bit 0x7FFFFFFFFFFFULL #define kSCSICmdFieldMask49Bit 0x01FFFFFFFFFFFFULL #define kSCSICmdFieldMask4Bit 0x0F #define kSCSICmdFieldMask4Byte 0xFFFFFFFFUL #define kSCSICmdFieldMask50Bit 0x03FFFFFFFFFFFFULL #define kSCSICmdFieldMask51Bit 0x07FFFFFFFFFFFFULL #define kSCSICmdFieldMask52Bit 0x0FFFFFFFFFFFFFULL #define kSCSICmdFieldMask53Bit 0x1FFFFFFFFFFFFFULL #define kSCSICmdFieldMask54Bit 0x3FFFFFFFFFFFFFULL #define kSCSICmdFieldMask55Bit 0x7FFFFFFFFFFFFFULL #define kSCSICmdFieldMask57Bit 0x01FFFFFFFFFFFFFFULL #define kSCSICmdFieldMask58Bit 0x03FFFFFFFFFFFFFFULL #define kSCSICmdFieldMask59Bit 0x07FFFFFFFFFFFFFFULL #define kSCSICmdFieldMask5Bit 0x1F #define kSCSICmdFieldMask5Byte 0xFFFFFFFFFFULL #define kSCSICmdFieldMask60Bit 0x0FFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask61Bit 0x1FFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask62Bit 0x3FFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask63Bit 0x7FFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask6Bit 0x3F #define kSCSICmdFieldMask6Byte 0xFFFFFFFFFFFFULL #define kSCSICmdFieldMask7Bit 0x7F #define kSCSICmdFieldMask7Byte 0xFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask8Byte 0xFFFFFFFFFFFFFFFFULL #define kSCSICmdFieldMask9Bit 0x01FF

    Constants

    • kSCSICmdFieldMask10Bit

    • kSCSICmdFieldMask11Bit

    • kSCSICmdFieldMask12Bit

    • kSCSICmdFieldMask13Bit

    • kSCSICmdFieldMask14Bit

    • kSCSICmdFieldMask15Bit

    • kSCSICmdFieldMask17Bit

    • kSCSICmdFieldMask18Bit

    • kSCSICmdFieldMask19Bit

    • kSCSICmdFieldMask1Bit

    • kSCSICmdFieldMask20Bit

    • kSCSICmdFieldMask21Bit

    • kSCSICmdFieldMask22Bit

    • kSCSICmdFieldMask23Bit

    • kSCSICmdFieldMask25Bit

    • kSCSICmdFieldMask26Bit

    • kSCSICmdFieldMask27Bit

    • kSCSICmdFieldMask28Bit

    • kSCSICmdFieldMask29Bit

    • kSCSICmdFieldMask2Bit

    • kSCSICmdFieldMask2Byte

    • kSCSICmdFieldMask30Bit

    • kSCSICmdFieldMask31Bit

    • kSCSICmdFieldMask33Bit

    • kSCSICmdFieldMask34Bit

    • kSCSICmdFieldMask35Bit

    • kSCSICmdFieldMask36Bit

    • kSCSICmdFieldMask37Bit

    • kSCSICmdFieldMask38Bit

    • kSCSICmdFieldMask39Bit

    • kSCSICmdFieldMask3Bit

    • kSCSICmdFieldMask3Byte

    • kSCSICmdFieldMask41Bit

    • kSCSICmdFieldMask42Bit

    • kSCSICmdFieldMask43Bit

    • kSCSICmdFieldMask44Bit

    • kSCSICmdFieldMask45Bit

    • kSCSICmdFieldMask46Bit

    • kSCSICmdFieldMask47Bit

    • kSCSICmdFieldMask49Bit

    • kSCSICmdFieldMask4Bit

    • kSCSICmdFieldMask4Byte

    • kSCSICmdFieldMask50Bit

    • kSCSICmdFieldMask51Bit

    • kSCSICmdFieldMask52Bit

    • kSCSICmdFieldMask53Bit

    • kSCSICmdFieldMask54Bit

    • kSCSICmdFieldMask55Bit

    • kSCSICmdFieldMask57Bit

    • kSCSICmdFieldMask58Bit

    • kSCSICmdFieldMask59Bit

    • kSCSICmdFieldMask5Bit

    • kSCSICmdFieldMask5Byte

    • kSCSICmdFieldMask60Bit

    • kSCSICmdFieldMask61Bit

    • kSCSICmdFieldMask62Bit

    • kSCSICmdFieldMask63Bit

    • kSCSICmdFieldMask6Bit

    • kSCSICmdFieldMask6Byte

    • kSCSICmdFieldMask7Bit

    • kSCSICmdFieldMask7Byte

    • kSCSICmdFieldMask8Byte

    • kSCSICmdFieldMask9Bit