smartmontools SVN Rev 5419
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Macros | Typedefs | Variables
os_qnxnto.h File Reference
#include <sys/cpt.h>
#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
#include <gulliver.h>
#include <sys/dcmd_cam.h>
#include <sys/cam_device.h>
#include "atacmds.h"
Include dependency graph for os_qnxnto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _drive_attribute
 
struct  _ata_pass_thru
 
struct  _scsi_sense
 
struct  _scsi_sense_descriptor
 
struct  _scsi_sense_desriptor_header
 
struct  _ata_status_descriptor
 
union  _cdb
 
struct  _cdb::_format_unit
 
struct  _cdb::_format_unit_old
 
struct  _cdb::_mode_sense10
 
struct  _cdb::_ata_pass_thru
 
struct  _ata_sense
 

Macros

#define OS_QNXNTO_H_CVSID   "$Id: os_qnxnto.h 4761 2018-08-20 19:33:04Z chrfranke $\n"
 
#define INQLEN   36 /* Inquiry string length to store. */
 
#define CAM_SUCCESS   0 /* For signaling general success */
 
#define CAM_FAILURE   1 /* For signaling general failure */
 
#define CAM_FALSE   0 /* General purpose flag value */
 
#define CAM_TRUE   1 /* General purpose flag value */
 
#define SC_ATA_PT16   0x85
 
#define ATA_SMART_LBA_MID_SIG   0x4f
 
#define ATA_SMART_LBA_HI_SIG   0xc2
 
#define ATA_SMART_SIG   0xc24f
 
#define ATA_PROTO_MSK   0x1e
 
#define ATA_PROTO_RESPONSE   (15 << 1)
 
#define ATA_PROTO_FPDMA   (12 << 1)
 
#define ATA_PROTO_UDMA_DATA_OUT   (11 << 1)
 
#define ATA_PROTO_UDMA_DATA_IN   (10 << 1)
 
#define ATA_PROTO_DEVICE_RESET   (9 << 1)
 
#define ATA_PROTO_DEVICE_DIAGNOSTIC   (8 << 1)
 
#define ATA_PROTO_DMA_QUEUED   (7 << 1)
 
#define ATA_PROTO_DMA   (6 << 1)
 
#define ATA_PROTO_PIO_DATA_OUT   (5 << 1)
 
#define ATA_PROTO_PIO_DATA_IN   (4 << 1)
 
#define ATA_PROTO_DATA_NONE   (3 << 1)
 
#define ATA_PROTO_SRST   (1 << 1)
 
#define ATA_PROTO_HRST   (0 << 1)
 
#define ATA_PROTO_EXTEND   0x01
 
#define ATA_MCOUNT_MSK   0xe0
 
#define ATA_FLG_CK_COND   0x20
 
#define ATA_FLG_T_DIR   0x08
 
#define ATA_FLG_BYT_BLOK   0x04
 
#define ATA_FLG_TLEN_STPSIU   0x03
 
#define ATA_FLG_TLEN_SECTOR_COUNT   0x02
 
#define ATA_FLG_TLEN_FEATURE   0x01
 
#define SENSE_DATA_FMT_DESCRIPTOR   0x02
 
#define SENSE_DTYPE_INFORMATION   0x00
 
#define SENSE_DTYPE_CSI   0x01
 
#define SENSE_DTYPE_SKS   0x02
 
#define SENSE_DTYPE_FRU   0x03
 
#define SENSE_DTYPE_STREAM   0x04
 
#define SENSE_DTYPE_BLOCK   0x05
 
#define SENSE_DTYPE_OSD_OBJ_IDENT   0x06
 
#define SENSE_DTYPE_OSD_INTEGRITY   0x07
 
#define SENSE_DTYPE_OSD_ATR_IDENT   0x08
 
#define SENSE_DTYPE_ATA   0x09
 
#define ATA_SD_DLEN   0x0c
 
#define ATA_SD_FLG_EXTEND   0x01
 
#define SK_MSK   0x0F
 
#define SK_NO_SENSE   0
 
#define ASCQ_FILEMARK_DETECTED   0x01
 
#define ASCQ_EOPM_DETECTED   0x02
 
#define ASCQ_SETMARK_DETECTED   0x03
 
#define ASCQ_BOPM_DETECTED   0x04
 
#define SK_RECOVERED   1
 
#define ASC_ATA_PASS_THRU   0x00
 
#define ASCQ_ATA_PASS_THRU_INFO_AVAIL   0x1d
 
#define SK_NOT_RDY   2
 
#define ASC_NO_SEEK_COMPLETE   0x02
 
#define ASC_NOT_READY   0x04
 
#define ASCQ_CAUSE_NOT_REPORTABLE   0x00
 
#define ASCQ_BECOMING_READY   0x01
 
#define ASCQ_INIT_COMMAND_REQUIRED   0x02
 
#define ASCQ_MANUAL_INTERVENTION_REQUIRED   0x03
 
#define ASCQ_FORMAT_IN_PROGRESS   0x04
 
#define ASCQ_UNKNOWN_CHANGED   0xff
 
#define ASC_MEDIA_FORMAT   0x30
 
#define ASC_MEDIA_NOT_PRESENT   0x3a
 
#define ASC_NOT_CONFIGURED   0x3e
 
#define SK_MEDIUM   3
 
#define ASC_UNRECOVERABLE_READ_ERROR   0x11
 
#define ASC_RECORD_NOT_FOUND   0x14
 
#define ASCQ_RECORD_NOT_FOUND   0x01
 
#define ASC_UNABLE_TO_RECOVER_TOC   0x57
 
#define ASC_INCOMPATIBLE_MEDIUM   0x64
 
#define SK_HARDWARE   4
 
#define ASC_INTERNAL_TARGET_FAILURE   0x44
 
#define ASC_MEDIA_LOAD_EJECT_FAILURE   0x53
 
#define ASCQ_UNRECOVERABLE_CIRC   0x06
 
#define SK_ILLEGAL   5
 
#define ASC_INVALID_COMMAND   0x20
 
#define ASC_INVALID_FIELD   0x24
 
#define ASC_INVALID_FIELD_PARAMETER   0x26
 
#define ASC_COMMAND_SEQUENCE_ERROR   0x2c
 
#define ASCQ_READ_SCRAMBLED   0x03
 
#define ASC_ILLEGAL_MODE   0x64
 
#define ASC_COPY_PROTECTION   0x6f
 
#define SK_UNIT_ATN   6
 
#define ASC_MEDIUM_CHANGED   0x28
 
#define ASC_BUS_RESET   0x29
 
#define ASC_INSUFFICIENT_TIME_FOR_OPERATION   0x2e
 
#define ASC_OPERATOR_REQUEST   0x5a
 
#define ASCQ_OPERATOR_MEDIUM_REMOVAL   0x01
 
#define SK_DATA_PROT   7
 
#define ASC_WRITE_PROTECTED   0x27
 
#define SK_BLNK_CHK   8
 
#define SK_VENDOR   9
 
#define SK_CPY_ABORT   10
 
#define SK_CMD_ABORT   11
 
#define SK_EQUAL   12
 
#define SK_VOL_OFL   13
 
#define SK_MISCMP   14
 
#define SK_RESERVED   15
 
#define CF_LINK   0x01
 
#define CF_FLAG   0x02
 
#define CF_VENDOR0   0x40
 
#define CF_VENDOR1   0x80
 
#define CF_FUA   0x08
 
#define CF_DPO   0x10
 
#define FU_RSVD0   0xc0
 
#define FU_FMTDAT   0x10
 
#define FU_CMPLIST   0x08
 
#define FMT_RSVD3   0x80
 
#define FMT_SECT_SIZE_CD   0x70
 
#define FMT_IMMED   0x08
 
#define FMT_HEAD   0x04
 
#define FMT_ST   0x02
 
#define FMT_CERT   0x01
 
#define RW_OPT_RELADR   0x01
 
#define RW_OPT_CORRCT   0x02
 
#define RW_OPT_FUA   0x08
 
#define RW_OPT_DPO   0x10
 
#define MSEL_OPT_PF   0x10
 
#define MSEL_OPT_SP   0x01
 
#define LS_OPT_SP   0x01
 
#define LS_OPT_PCR   0x02
 
#define LS_PC_CUR_THRESHOLD   0x00
 
#define LS_PC_CUR_CUMULATIVE   0x01
 
#define LS_PC_DFLT_THRESHOLD   0x02
 
#define LS_PC_DFLT_CUMULATIVE   0x03
 
#define MSNS_OPT_DBD   0x08
 
#define PC_CURRENT   0x00
 
#define PC_CHANGEABLE   0x40
 
#define PC_DEFAULT   0x80
 
#define PC_SAVED   0xC0
 
#define PC_MSK   0xC0
 
#define LD_OPT_IMMED   0x01
 
#define LD_CMD_START   0x01
 
#define LD_CMD_LOEJ   0x02
 
#define LD_CMD_STOP   0x00
 
#define LD_CMD_EJECT   0x02
 
#define LD_CMD_LOAD   0x03
 
#define LD_CMD_SA_HOLD   0x08
 
#define LD_CMD_SA_EOT   0x04
 
#define LD_CMD_SA_RT   0x02
 
#define LD_CMD_SA_LOEJ   0x01
 
#define LD_CMD_PC_MSK   0xf0
 
#define LD_CMD_PC_NC   0
 
#define LD_CMD_PC_ACTIVE   1
 
#define LD_CMD_PC_IDLE   2
 
#define LD_CMD_PC_STANDBY   3
 
#define LD_CMD_PC_SLEEP   5
 
#define SC_OPT_RELADR   0x01
 
#define SC_OPT_IMMED   0x02
 
#define CD_SCAN_DIR_FORWARD   0x00
 
#define CD_SCAN_DIR_REVERSE   0x10
 
#define CD_SCAN_TYPE_LBA   0x00
 
#define CD_SCAN_TYPE_MSF   0x40
 
#define CD_SCAN_TYPE_TRK   0x80
 
#define CD_SCAN_TYPE_MSK   0xc0
 
#define RTOC_OPT_MSF   0x02
 
#define RTOC_FMT_TOC   0x0
 
#define RTOC_FMT_SESSION   0x1
 
#define RTOC_FMT_QSUBCODE   0x2
 
#define RTOC_FMT_QSUBCHNL   0x3
 
#define RTOC_FMT_ATIP   0x4
 
#define RTOC_FMT_CDTEXT   0x5
 
#define RTOC_CNTL_FMT_SESSION   0x40
 
#define EXCHANGE_OPT_IMMED   0x01
 
#define EXCHANGE_CMD_START   0x01
 
#define EXCHANGE_CMD_LOEJ   0x02
 
#define GE_OPT_POLLED   0x01
 
#define NCR_OPERATIONAL_CHANGE   0x02
 
#define NCR_POWER_MANAGEMENT   0x04
 
#define NCR_EXTERNAL_REQUEST   0x08
 
#define NCR_MEDIA   0x10
 
#define NCR_MULTI_INITIATOR   0x20
 
#define NCR_DEVICE_BUSY   0x40
 
#define RSCHNL_OPT_MSF   0x02
 
#define RSCHNL_DATA_SUBQ   0x40
 
#define CD_FRAME_SYNC_SIZE   12
 
#define CD_FRAME_HDR_SIZE   4
 
#define CD_FRAME_SUB_HDR_SIZE   8
 
#define CD_FRAME_EDC_SIZE   4
 
#define CD_FRAME_ECC_SIZE   276
 
#define CD_FRAME_AUX_SIZE   8
 
#define CD_FRAME_ZERO_SIZE   8
 
#define CD_FRAME_SPARE_SIZE   4
 
#define CD_FRAME_C2_ERR_SIZE   294
 
#define CD_FRAME_BLOCK_ERR_SIZE   2
 
#define RDCD_EST_ANY_SECTOR   (0 << 2)
 
#define RDCD_EST_CDDA_SECTOR   (1 << 2)
 
#define RDCD_EST_YELLOW_MODE1_SECTOR   (2 << 2)
 
#define RDCD_EST_YELLOW_MODE2_SECTOR   (3 << 2)
 
#define RDCD_EST_XA_SECTOR   (4 << 2)
 
#define RDCD_EST_XA_FORM2_SECTOR   (5 << 2)
 
#define RDCD_EST_MSK   (7 << 2)
 
#define RDCD_FLG_SYNC   0x80
 
#define RDCD_FLG_UDATA   0x10
 
#define RDCD_FLG_ECC   0x08
 
#define RDCD_FLG_CD_ERR   0x02
 
#define RDCD_FLG_CD_BLOCK_ERR   0x04
 
#define RDCD_FLG_HC_NONE   ( 0x00 << 5 )
 
#define RDCD_FLG_HC_HDR   ( 0x01 << 5 )
 
#define RDCD_FLG_HC_SUBHEADER   ( 0x02 << 5 )
 
#define RDCD_FLG_HC_ALL_HEADERS   ( 0x03 << 5 )
 
#define ATA_PROTO_MSK   0x1e
 
#define ATA_PROTO_RESPONSE   (15 << 1)
 
#define ATA_PROTO_FPDMA   (12 << 1)
 
#define ATA_PROTO_UDMA_DATA_OUT   (11 << 1)
 
#define ATA_PROTO_UDMA_DATA_IN   (10 << 1)
 
#define ATA_PROTO_DEVICE_RESET   (9 << 1)
 
#define ATA_PROTO_DEVICE_DIAGNOSTIC   (8 << 1)
 
#define ATA_PROTO_DMA_QUEUED   (7 << 1)
 
#define ATA_PROTO_DMA   (6 << 1)
 
#define ATA_PROTO_PIO_DATA_OUT   (5 << 1)
 
#define ATA_PROTO_PIO_DATA_IN   (4 << 1)
 
#define ATA_PROTO_DATA_NONE   (3 << 1)
 
#define ATA_PROTO_SRST   (1 << 1)
 
#define ATA_PROTO_HRST   (0 << 1)
 
#define ATA_PROTO_EXTEND   0x01
 
#define ATA_MCOUNT_MSK   0xe0
 
#define ATA_FLG_CK_COND   0x20
 
#define ATA_FLG_T_DIR   0x08
 
#define ATA_FLG_BYT_BLOK   0x04
 
#define ATA_FLG_TLEN_STPSIU   0x03
 
#define ATA_FLG_TLEN_SECTOR_COUNT   0x02
 
#define ATA_FLG_TLEN_FEATURE   0x01
 
#define ERASE_OPT_LONG   0x01
 
#define LOCATE_OPT_CP   0x2
 
#define LOCATE_OPT_BT   0x4
 
#define RP_OPT_BT   0x01
 
#define RP_OPT_LNG   0x02
 
#define RP_OPT_TCLP   0x04
 
#define SRW_OPT_FIXED   0x01
 
#define SRW_OPT_SILI   0x02
 
#define SPACE_CODE_BLOCKS   0x00
 
#define SPACE_CODE_FMRKS   0x01
 
#define SPACE_CODE_SEQ_FMRKS   0x02
 
#define SPACE_CODE_EOD   0x03
 
#define SPACE_CODE_SMRKS   0x04
 
#define SPACE_CODE_SEQ_SMRKS   0x05
 
#define WF_OPT_IMMED   0x01
 
#define WF_OPT_WSMK   0x02
 
#define RD_OPT_MEDIA   0x01
 
#define FM_OPT_IMMED   0x01
 
#define FM_OPT_VERIFY   0x02
 
#define FM_FMT_DFLT   0x00
 
#define FM_FMT_PARTITION   0x01
 
#define FM_FMT_FORMAT_PARTITION   0x02
 

Typedefs

typedef struct _ata_pass_thru ATA_PASS_THRU
 
typedef struct _eide_identify EIDE_IDENTIFY
 
typedef struct _ata_sense ATA_SENSE
 
typedef void CCB
 
typedef struct _drive_attribute DRIVE_ATTRIBUTE
 
typedef struct _scsi_sense SCSI_SENSE
 
typedef struct _scsi_sense_descriptor SCSI_SENSE_DESCRIPTOR
 
typedef struct _scsi_sense_desriptor_header SCSI_SENSE_DESCRIPTOR_HEADER
 
typedef struct _ata_status_descriptor ATA_STATUS_DESCRIPTOR
 
typedef union _cdb CDB
 

Variables

struct _ata_pass_thru ata_pass_thru_
 

Macro Definition Documentation

◆ ASC_ATA_PASS_THRU

#define ASC_ATA_PASS_THRU   0x00

Definition at line 208 of file os_qnxnto.h.

◆ ASC_BUS_RESET

#define ASC_BUS_RESET   0x29

Definition at line 247 of file os_qnxnto.h.

◆ ASC_COMMAND_SEQUENCE_ERROR

#define ASC_COMMAND_SEQUENCE_ERROR   0x2c

Definition at line 240 of file os_qnxnto.h.

◆ ASC_COPY_PROTECTION

#define ASC_COPY_PROTECTION   0x6f

Definition at line 243 of file os_qnxnto.h.

◆ ASC_ILLEGAL_MODE

#define ASC_ILLEGAL_MODE   0x64

Definition at line 242 of file os_qnxnto.h.

◆ ASC_INCOMPATIBLE_MEDIUM

#define ASC_INCOMPATIBLE_MEDIUM   0x64

Definition at line 229 of file os_qnxnto.h.

◆ ASC_INSUFFICIENT_TIME_FOR_OPERATION

#define ASC_INSUFFICIENT_TIME_FOR_OPERATION   0x2e

Definition at line 248 of file os_qnxnto.h.

◆ ASC_INTERNAL_TARGET_FAILURE

#define ASC_INTERNAL_TARGET_FAILURE   0x44

Definition at line 232 of file os_qnxnto.h.

◆ ASC_INVALID_COMMAND

#define ASC_INVALID_COMMAND   0x20

Definition at line 237 of file os_qnxnto.h.

◆ ASC_INVALID_FIELD

#define ASC_INVALID_FIELD   0x24

Definition at line 238 of file os_qnxnto.h.

◆ ASC_INVALID_FIELD_PARAMETER

#define ASC_INVALID_FIELD_PARAMETER   0x26

Definition at line 239 of file os_qnxnto.h.

◆ ASC_MEDIA_FORMAT

#define ASC_MEDIA_FORMAT   0x30

Definition at line 220 of file os_qnxnto.h.

◆ ASC_MEDIA_LOAD_EJECT_FAILURE

#define ASC_MEDIA_LOAD_EJECT_FAILURE   0x53

Definition at line 233 of file os_qnxnto.h.

◆ ASC_MEDIA_NOT_PRESENT

#define ASC_MEDIA_NOT_PRESENT   0x3a

Definition at line 221 of file os_qnxnto.h.

◆ ASC_MEDIUM_CHANGED

#define ASC_MEDIUM_CHANGED   0x28

Definition at line 246 of file os_qnxnto.h.

◆ ASC_NO_SEEK_COMPLETE

#define ASC_NO_SEEK_COMPLETE   0x02

Definition at line 212 of file os_qnxnto.h.

◆ ASC_NOT_CONFIGURED

#define ASC_NOT_CONFIGURED   0x3e

Definition at line 222 of file os_qnxnto.h.

◆ ASC_NOT_READY

#define ASC_NOT_READY   0x04

Definition at line 213 of file os_qnxnto.h.

◆ ASC_OPERATOR_REQUEST

#define ASC_OPERATOR_REQUEST   0x5a

Definition at line 249 of file os_qnxnto.h.

◆ ASC_RECORD_NOT_FOUND

#define ASC_RECORD_NOT_FOUND   0x14

Definition at line 226 of file os_qnxnto.h.

◆ ASC_UNABLE_TO_RECOVER_TOC

#define ASC_UNABLE_TO_RECOVER_TOC   0x57

Definition at line 228 of file os_qnxnto.h.

◆ ASC_UNRECOVERABLE_READ_ERROR

#define ASC_UNRECOVERABLE_READ_ERROR   0x11

Definition at line 225 of file os_qnxnto.h.

◆ ASC_WRITE_PROTECTED

#define ASC_WRITE_PROTECTED   0x27

Definition at line 253 of file os_qnxnto.h.

◆ ASCQ_ATA_PASS_THRU_INFO_AVAIL

#define ASCQ_ATA_PASS_THRU_INFO_AVAIL   0x1d

Definition at line 209 of file os_qnxnto.h.

◆ ASCQ_BECOMING_READY

#define ASCQ_BECOMING_READY   0x01

Definition at line 215 of file os_qnxnto.h.

◆ ASCQ_BOPM_DETECTED

#define ASCQ_BOPM_DETECTED   0x04

Definition at line 205 of file os_qnxnto.h.

◆ ASCQ_CAUSE_NOT_REPORTABLE

#define ASCQ_CAUSE_NOT_REPORTABLE   0x00

Definition at line 214 of file os_qnxnto.h.

◆ ASCQ_EOPM_DETECTED

#define ASCQ_EOPM_DETECTED   0x02

Definition at line 203 of file os_qnxnto.h.

◆ ASCQ_FILEMARK_DETECTED

#define ASCQ_FILEMARK_DETECTED   0x01

Definition at line 202 of file os_qnxnto.h.

◆ ASCQ_FORMAT_IN_PROGRESS

#define ASCQ_FORMAT_IN_PROGRESS   0x04

Definition at line 218 of file os_qnxnto.h.

◆ ASCQ_INIT_COMMAND_REQUIRED

#define ASCQ_INIT_COMMAND_REQUIRED   0x02

Definition at line 216 of file os_qnxnto.h.

◆ ASCQ_MANUAL_INTERVENTION_REQUIRED

#define ASCQ_MANUAL_INTERVENTION_REQUIRED   0x03

Definition at line 217 of file os_qnxnto.h.

◆ ASCQ_OPERATOR_MEDIUM_REMOVAL

#define ASCQ_OPERATOR_MEDIUM_REMOVAL   0x01

Definition at line 250 of file os_qnxnto.h.

◆ ASCQ_READ_SCRAMBLED

#define ASCQ_READ_SCRAMBLED   0x03

Definition at line 241 of file os_qnxnto.h.

◆ ASCQ_RECORD_NOT_FOUND

#define ASCQ_RECORD_NOT_FOUND   0x01

Definition at line 227 of file os_qnxnto.h.

◆ ASCQ_SETMARK_DETECTED

#define ASCQ_SETMARK_DETECTED   0x03

Definition at line 204 of file os_qnxnto.h.

◆ ASCQ_UNKNOWN_CHANGED

#define ASCQ_UNKNOWN_CHANGED   0xff

Definition at line 219 of file os_qnxnto.h.

◆ ASCQ_UNRECOVERABLE_CIRC

#define ASCQ_UNRECOVERABLE_CIRC   0x06

Definition at line 234 of file os_qnxnto.h.

◆ ATA_FLG_BYT_BLOK [1/2]

#define ATA_FLG_BYT_BLOK   0x04

Definition at line 754 of file os_qnxnto.h.

◆ ATA_FLG_BYT_BLOK [2/2]

#define ATA_FLG_BYT_BLOK   0x04

Definition at line 754 of file os_qnxnto.h.

◆ ATA_FLG_CK_COND [1/2]

#define ATA_FLG_CK_COND   0x20

Definition at line 752 of file os_qnxnto.h.

◆ ATA_FLG_CK_COND [2/2]

#define ATA_FLG_CK_COND   0x20

Definition at line 752 of file os_qnxnto.h.

◆ ATA_FLG_T_DIR [1/2]

#define ATA_FLG_T_DIR   0x08

Definition at line 753 of file os_qnxnto.h.

◆ ATA_FLG_T_DIR [2/2]

#define ATA_FLG_T_DIR   0x08

Definition at line 753 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_FEATURE [1/2]

#define ATA_FLG_TLEN_FEATURE   0x01

Definition at line 757 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_FEATURE [2/2]

#define ATA_FLG_TLEN_FEATURE   0x01

Definition at line 757 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_SECTOR_COUNT [1/2]

#define ATA_FLG_TLEN_SECTOR_COUNT   0x02

Definition at line 756 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_SECTOR_COUNT [2/2]

#define ATA_FLG_TLEN_SECTOR_COUNT   0x02

Definition at line 756 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_STPSIU [1/2]

#define ATA_FLG_TLEN_STPSIU   0x03

Definition at line 755 of file os_qnxnto.h.

◆ ATA_FLG_TLEN_STPSIU [2/2]

#define ATA_FLG_TLEN_STPSIU   0x03

Definition at line 755 of file os_qnxnto.h.

◆ ATA_MCOUNT_MSK [1/2]

#define ATA_MCOUNT_MSK   0xe0

Definition at line 750 of file os_qnxnto.h.

◆ ATA_MCOUNT_MSK [2/2]

#define ATA_MCOUNT_MSK   0xe0

Definition at line 750 of file os_qnxnto.h.

◆ ATA_PROTO_DATA_NONE [1/2]

#define ATA_PROTO_DATA_NONE   (3 << 1)

Definition at line 745 of file os_qnxnto.h.

◆ ATA_PROTO_DATA_NONE [2/2]

#define ATA_PROTO_DATA_NONE   (3 << 1)

Definition at line 745 of file os_qnxnto.h.

◆ ATA_PROTO_DEVICE_DIAGNOSTIC [1/2]

#define ATA_PROTO_DEVICE_DIAGNOSTIC   (8 << 1)

Definition at line 740 of file os_qnxnto.h.

◆ ATA_PROTO_DEVICE_DIAGNOSTIC [2/2]

#define ATA_PROTO_DEVICE_DIAGNOSTIC   (8 << 1)

Definition at line 740 of file os_qnxnto.h.

◆ ATA_PROTO_DEVICE_RESET [1/2]

#define ATA_PROTO_DEVICE_RESET   (9 << 1)

Definition at line 739 of file os_qnxnto.h.

◆ ATA_PROTO_DEVICE_RESET [2/2]

#define ATA_PROTO_DEVICE_RESET   (9 << 1)

Definition at line 739 of file os_qnxnto.h.

◆ ATA_PROTO_DMA [1/2]

#define ATA_PROTO_DMA   (6 << 1)

Definition at line 742 of file os_qnxnto.h.

◆ ATA_PROTO_DMA [2/2]

#define ATA_PROTO_DMA   (6 << 1)

Definition at line 742 of file os_qnxnto.h.

◆ ATA_PROTO_DMA_QUEUED [1/2]

#define ATA_PROTO_DMA_QUEUED   (7 << 1)

Definition at line 741 of file os_qnxnto.h.

◆ ATA_PROTO_DMA_QUEUED [2/2]

#define ATA_PROTO_DMA_QUEUED   (7 << 1)

Definition at line 741 of file os_qnxnto.h.

◆ ATA_PROTO_EXTEND [1/2]

#define ATA_PROTO_EXTEND   0x01

Definition at line 748 of file os_qnxnto.h.

◆ ATA_PROTO_EXTEND [2/2]

#define ATA_PROTO_EXTEND   0x01

Definition at line 748 of file os_qnxnto.h.

◆ ATA_PROTO_FPDMA [1/2]

#define ATA_PROTO_FPDMA   (12 << 1)

Definition at line 736 of file os_qnxnto.h.

◆ ATA_PROTO_FPDMA [2/2]

#define ATA_PROTO_FPDMA   (12 << 1)

Definition at line 736 of file os_qnxnto.h.

◆ ATA_PROTO_HRST [1/2]

#define ATA_PROTO_HRST   (0 << 1)

Definition at line 747 of file os_qnxnto.h.

◆ ATA_PROTO_HRST [2/2]

#define ATA_PROTO_HRST   (0 << 1)

Definition at line 747 of file os_qnxnto.h.

◆ ATA_PROTO_MSK [1/2]

#define ATA_PROTO_MSK   0x1e

Definition at line 734 of file os_qnxnto.h.

◆ ATA_PROTO_MSK [2/2]

#define ATA_PROTO_MSK   0x1e

Definition at line 734 of file os_qnxnto.h.

◆ ATA_PROTO_PIO_DATA_IN [1/2]

#define ATA_PROTO_PIO_DATA_IN   (4 << 1)

Definition at line 744 of file os_qnxnto.h.

◆ ATA_PROTO_PIO_DATA_IN [2/2]

#define ATA_PROTO_PIO_DATA_IN   (4 << 1)

Definition at line 744 of file os_qnxnto.h.

◆ ATA_PROTO_PIO_DATA_OUT [1/2]

#define ATA_PROTO_PIO_DATA_OUT   (5 << 1)

Definition at line 743 of file os_qnxnto.h.

◆ ATA_PROTO_PIO_DATA_OUT [2/2]

#define ATA_PROTO_PIO_DATA_OUT   (5 << 1)

Definition at line 743 of file os_qnxnto.h.

◆ ATA_PROTO_RESPONSE [1/2]

#define ATA_PROTO_RESPONSE   (15 << 1)

Definition at line 735 of file os_qnxnto.h.

◆ ATA_PROTO_RESPONSE [2/2]

#define ATA_PROTO_RESPONSE   (15 << 1)

Definition at line 735 of file os_qnxnto.h.

◆ ATA_PROTO_SRST [1/2]

#define ATA_PROTO_SRST   (1 << 1)

Definition at line 746 of file os_qnxnto.h.

◆ ATA_PROTO_SRST [2/2]

#define ATA_PROTO_SRST   (1 << 1)

Definition at line 746 of file os_qnxnto.h.

◆ ATA_PROTO_UDMA_DATA_IN [1/2]

#define ATA_PROTO_UDMA_DATA_IN   (10 << 1)

Definition at line 738 of file os_qnxnto.h.

◆ ATA_PROTO_UDMA_DATA_IN [2/2]

#define ATA_PROTO_UDMA_DATA_IN   (10 << 1)

Definition at line 738 of file os_qnxnto.h.

◆ ATA_PROTO_UDMA_DATA_OUT [1/2]

#define ATA_PROTO_UDMA_DATA_OUT   (11 << 1)

Definition at line 737 of file os_qnxnto.h.

◆ ATA_PROTO_UDMA_DATA_OUT [2/2]

#define ATA_PROTO_UDMA_DATA_OUT   (11 << 1)

Definition at line 737 of file os_qnxnto.h.

◆ ATA_SD_DLEN

#define ATA_SD_DLEN   0x0c

Definition at line 180 of file os_qnxnto.h.

◆ ATA_SD_FLG_EXTEND

#define ATA_SD_FLG_EXTEND   0x01

Definition at line 182 of file os_qnxnto.h.

◆ ATA_SMART_LBA_HI_SIG

#define ATA_SMART_LBA_HI_SIG   0xc2

Definition at line 66 of file os_qnxnto.h.

◆ ATA_SMART_LBA_MID_SIG

#define ATA_SMART_LBA_MID_SIG   0x4f

Definition at line 65 of file os_qnxnto.h.

◆ ATA_SMART_SIG

#define ATA_SMART_SIG   0xc24f

Definition at line 67 of file os_qnxnto.h.

◆ CAM_FAILURE

#define CAM_FAILURE   1 /* For signaling general failure */

Definition at line 56 of file os_qnxnto.h.

◆ CAM_FALSE

#define CAM_FALSE   0 /* General purpose flag value */

Definition at line 58 of file os_qnxnto.h.

◆ CAM_SUCCESS

#define CAM_SUCCESS   0 /* For signaling general success */

Definition at line 55 of file os_qnxnto.h.

◆ CAM_TRUE

#define CAM_TRUE   1 /* General purpose flag value */

Definition at line 59 of file os_qnxnto.h.

◆ CD_FRAME_AUX_SIZE

#define CD_FRAME_AUX_SIZE   8

Definition at line 684 of file os_qnxnto.h.

◆ CD_FRAME_BLOCK_ERR_SIZE

#define CD_FRAME_BLOCK_ERR_SIZE   2

Definition at line 688 of file os_qnxnto.h.

◆ CD_FRAME_C2_ERR_SIZE

#define CD_FRAME_C2_ERR_SIZE   294

Definition at line 687 of file os_qnxnto.h.

◆ CD_FRAME_ECC_SIZE

#define CD_FRAME_ECC_SIZE   276

Definition at line 683 of file os_qnxnto.h.

◆ CD_FRAME_EDC_SIZE

#define CD_FRAME_EDC_SIZE   4

Definition at line 682 of file os_qnxnto.h.

◆ CD_FRAME_HDR_SIZE

#define CD_FRAME_HDR_SIZE   4

Definition at line 680 of file os_qnxnto.h.

◆ CD_FRAME_SPARE_SIZE

#define CD_FRAME_SPARE_SIZE   4

Definition at line 686 of file os_qnxnto.h.

◆ CD_FRAME_SUB_HDR_SIZE

#define CD_FRAME_SUB_HDR_SIZE   8

Definition at line 681 of file os_qnxnto.h.

◆ CD_FRAME_SYNC_SIZE

#define CD_FRAME_SYNC_SIZE   12

Definition at line 679 of file os_qnxnto.h.

◆ CD_FRAME_ZERO_SIZE

#define CD_FRAME_ZERO_SIZE   8

Definition at line 685 of file os_qnxnto.h.

◆ CD_SCAN_DIR_FORWARD

#define CD_SCAN_DIR_FORWARD   0x00

Definition at line 553 of file os_qnxnto.h.

◆ CD_SCAN_DIR_REVERSE

#define CD_SCAN_DIR_REVERSE   0x10

Definition at line 554 of file os_qnxnto.h.

◆ CD_SCAN_TYPE_LBA

#define CD_SCAN_TYPE_LBA   0x00

Definition at line 557 of file os_qnxnto.h.

◆ CD_SCAN_TYPE_MSF

#define CD_SCAN_TYPE_MSF   0x40

Definition at line 558 of file os_qnxnto.h.

◆ CD_SCAN_TYPE_MSK

#define CD_SCAN_TYPE_MSK   0xc0

Definition at line 560 of file os_qnxnto.h.

◆ CD_SCAN_TYPE_TRK

#define CD_SCAN_TYPE_TRK   0x80

Definition at line 559 of file os_qnxnto.h.

◆ CF_DPO

#define CF_DPO   0x10

Definition at line 273 of file os_qnxnto.h.

◆ CF_FLAG

#define CF_FLAG   0x02

Definition at line 268 of file os_qnxnto.h.

◆ CF_FUA

#define CF_FUA   0x08

Definition at line 272 of file os_qnxnto.h.

◆ CF_LINK

#define CF_LINK   0x01

Definition at line 267 of file os_qnxnto.h.

◆ CF_VENDOR0

#define CF_VENDOR0   0x40

Definition at line 269 of file os_qnxnto.h.

◆ CF_VENDOR1

#define CF_VENDOR1   0x80

Definition at line 270 of file os_qnxnto.h.

◆ ERASE_OPT_LONG

#define ERASE_OPT_LONG   0x01

Definition at line 778 of file os_qnxnto.h.

◆ EXCHANGE_CMD_LOEJ

#define EXCHANGE_CMD_LOEJ   0x02

Definition at line 604 of file os_qnxnto.h.

◆ EXCHANGE_CMD_START

#define EXCHANGE_CMD_START   0x01

Definition at line 603 of file os_qnxnto.h.

◆ EXCHANGE_OPT_IMMED

#define EXCHANGE_OPT_IMMED   0x01

Definition at line 599 of file os_qnxnto.h.

◆ FM_FMT_DFLT

#define FM_FMT_DFLT   0x00

Definition at line 865 of file os_qnxnto.h.

◆ FM_FMT_FORMAT_PARTITION

#define FM_FMT_FORMAT_PARTITION   0x02

Definition at line 867 of file os_qnxnto.h.

◆ FM_FMT_PARTITION

#define FM_FMT_PARTITION   0x01

Definition at line 866 of file os_qnxnto.h.

◆ FM_OPT_IMMED

#define FM_OPT_IMMED   0x01

Definition at line 862 of file os_qnxnto.h.

◆ FM_OPT_VERIFY

#define FM_OPT_VERIFY   0x02

Definition at line 863 of file os_qnxnto.h.

◆ FMT_CERT

#define FMT_CERT   0x01

Definition at line 335 of file os_qnxnto.h.

◆ FMT_HEAD

#define FMT_HEAD   0x04

Definition at line 333 of file os_qnxnto.h.

◆ FMT_IMMED

#define FMT_IMMED   0x08

Definition at line 332 of file os_qnxnto.h.

◆ FMT_RSVD3

#define FMT_RSVD3   0x80

Definition at line 330 of file os_qnxnto.h.

◆ FMT_SECT_SIZE_CD

#define FMT_SECT_SIZE_CD   0x70

Definition at line 331 of file os_qnxnto.h.

◆ FMT_ST

#define FMT_ST   0x02

Definition at line 334 of file os_qnxnto.h.

◆ FU_CMPLIST

#define FU_CMPLIST   0x08

Definition at line 316 of file os_qnxnto.h.

◆ FU_FMTDAT

#define FU_FMTDAT   0x10

Definition at line 315 of file os_qnxnto.h.

◆ FU_RSVD0

#define FU_RSVD0   0xc0

Definition at line 314 of file os_qnxnto.h.

◆ GE_OPT_POLLED

#define GE_OPT_POLLED   0x01

Definition at line 628 of file os_qnxnto.h.

◆ INQLEN

#define INQLEN   36 /* Inquiry string length to store. */

Definition at line 53 of file os_qnxnto.h.

◆ LD_CMD_EJECT

#define LD_CMD_EJECT   0x02

Definition at line 468 of file os_qnxnto.h.

◆ LD_CMD_LOAD

#define LD_CMD_LOAD   0x03

Definition at line 469 of file os_qnxnto.h.

◆ LD_CMD_LOEJ

#define LD_CMD_LOEJ   0x02

Definition at line 466 of file os_qnxnto.h.

◆ LD_CMD_PC_ACTIVE

#define LD_CMD_PC_ACTIVE   1

Definition at line 480 of file os_qnxnto.h.

◆ LD_CMD_PC_IDLE

#define LD_CMD_PC_IDLE   2

Definition at line 481 of file os_qnxnto.h.

◆ LD_CMD_PC_MSK

#define LD_CMD_PC_MSK   0xf0

Definition at line 478 of file os_qnxnto.h.

◆ LD_CMD_PC_NC

#define LD_CMD_PC_NC   0

Definition at line 479 of file os_qnxnto.h.

◆ LD_CMD_PC_SLEEP

#define LD_CMD_PC_SLEEP   5

Definition at line 483 of file os_qnxnto.h.

◆ LD_CMD_PC_STANDBY

#define LD_CMD_PC_STANDBY   3

Definition at line 482 of file os_qnxnto.h.

◆ LD_CMD_SA_EOT

#define LD_CMD_SA_EOT   0x04

Definition at line 473 of file os_qnxnto.h.

◆ LD_CMD_SA_HOLD

#define LD_CMD_SA_HOLD   0x08

Definition at line 472 of file os_qnxnto.h.

◆ LD_CMD_SA_LOEJ

#define LD_CMD_SA_LOEJ   0x01

Definition at line 475 of file os_qnxnto.h.

◆ LD_CMD_SA_RT

#define LD_CMD_SA_RT   0x02

Definition at line 474 of file os_qnxnto.h.

◆ LD_CMD_START

#define LD_CMD_START   0x01

Definition at line 465 of file os_qnxnto.h.

◆ LD_CMD_STOP

#define LD_CMD_STOP   0x00

Definition at line 467 of file os_qnxnto.h.

◆ LD_OPT_IMMED

#define LD_OPT_IMMED   0x01

Definition at line 461 of file os_qnxnto.h.

◆ LOCATE_OPT_BT

#define LOCATE_OPT_BT   0x4

Definition at line 787 of file os_qnxnto.h.

◆ LOCATE_OPT_CP

#define LOCATE_OPT_CP   0x2

Definition at line 786 of file os_qnxnto.h.

◆ LS_OPT_PCR

#define LS_OPT_PCR   0x02

Definition at line 397 of file os_qnxnto.h.

◆ LS_OPT_SP

#define LS_OPT_SP   0x01

Definition at line 396 of file os_qnxnto.h.

◆ LS_PC_CUR_CUMULATIVE

#define LS_PC_CUR_CUMULATIVE   0x01

Definition at line 400 of file os_qnxnto.h.

◆ LS_PC_CUR_THRESHOLD

#define LS_PC_CUR_THRESHOLD   0x00

Definition at line 399 of file os_qnxnto.h.

◆ LS_PC_DFLT_CUMULATIVE

#define LS_PC_DFLT_CUMULATIVE   0x03

Definition at line 402 of file os_qnxnto.h.

◆ LS_PC_DFLT_THRESHOLD

#define LS_PC_DFLT_THRESHOLD   0x02

Definition at line 401 of file os_qnxnto.h.

◆ MSEL_OPT_PF

#define MSEL_OPT_PF   0x10

Definition at line 371 of file os_qnxnto.h.

◆ MSEL_OPT_SP

#define MSEL_OPT_SP   0x01

Definition at line 372 of file os_qnxnto.h.

◆ MSNS_OPT_DBD

#define MSNS_OPT_DBD   0x08

Definition at line 414 of file os_qnxnto.h.

◆ NCR_DEVICE_BUSY

#define NCR_DEVICE_BUSY   0x40

Definition at line 637 of file os_qnxnto.h.

◆ NCR_EXTERNAL_REQUEST

#define NCR_EXTERNAL_REQUEST   0x08

Definition at line 634 of file os_qnxnto.h.

◆ NCR_MEDIA

#define NCR_MEDIA   0x10

Definition at line 635 of file os_qnxnto.h.

◆ NCR_MULTI_INITIATOR

#define NCR_MULTI_INITIATOR   0x20

Definition at line 636 of file os_qnxnto.h.

◆ NCR_OPERATIONAL_CHANGE

#define NCR_OPERATIONAL_CHANGE   0x02

Definition at line 632 of file os_qnxnto.h.

◆ NCR_POWER_MANAGEMENT

#define NCR_POWER_MANAGEMENT   0x04

Definition at line 633 of file os_qnxnto.h.

◆ OS_QNXNTO_H_CVSID

#define OS_QNXNTO_H_CVSID   "$Id: os_qnxnto.h 4761 2018-08-20 19:33:04Z chrfranke $\n"

Definition at line 13 of file os_qnxnto.h.

◆ PC_CHANGEABLE

#define PC_CHANGEABLE   0x40

Definition at line 417 of file os_qnxnto.h.

◆ PC_CURRENT

#define PC_CURRENT   0x00

Definition at line 416 of file os_qnxnto.h.

◆ PC_DEFAULT

#define PC_DEFAULT   0x80

Definition at line 418 of file os_qnxnto.h.

◆ PC_MSK

#define PC_MSK   0xC0

Definition at line 420 of file os_qnxnto.h.

◆ PC_SAVED

#define PC_SAVED   0xC0

Definition at line 419 of file os_qnxnto.h.

◆ RD_OPT_MEDIA

#define RD_OPT_MEDIA   0x01

Definition at line 853 of file os_qnxnto.h.

◆ RDCD_EST_ANY_SECTOR

#define RDCD_EST_ANY_SECTOR   (0 << 2)

Definition at line 694 of file os_qnxnto.h.

◆ RDCD_EST_CDDA_SECTOR

#define RDCD_EST_CDDA_SECTOR   (1 << 2)

Definition at line 695 of file os_qnxnto.h.

◆ RDCD_EST_MSK

#define RDCD_EST_MSK   (7 << 2)

Definition at line 700 of file os_qnxnto.h.

◆ RDCD_EST_XA_FORM2_SECTOR

#define RDCD_EST_XA_FORM2_SECTOR   (5 << 2)

Definition at line 699 of file os_qnxnto.h.

◆ RDCD_EST_XA_SECTOR

#define RDCD_EST_XA_SECTOR   (4 << 2)

Definition at line 698 of file os_qnxnto.h.

◆ RDCD_EST_YELLOW_MODE1_SECTOR

#define RDCD_EST_YELLOW_MODE1_SECTOR   (2 << 2)

Definition at line 696 of file os_qnxnto.h.

◆ RDCD_EST_YELLOW_MODE2_SECTOR

#define RDCD_EST_YELLOW_MODE2_SECTOR   (3 << 2)

Definition at line 697 of file os_qnxnto.h.

◆ RDCD_FLG_CD_BLOCK_ERR

#define RDCD_FLG_CD_BLOCK_ERR   0x04

Definition at line 708 of file os_qnxnto.h.

◆ RDCD_FLG_CD_ERR

#define RDCD_FLG_CD_ERR   0x02

Definition at line 707 of file os_qnxnto.h.

◆ RDCD_FLG_ECC

#define RDCD_FLG_ECC   0x08

Definition at line 706 of file os_qnxnto.h.

◆ RDCD_FLG_HC_ALL_HEADERS

#define RDCD_FLG_HC_ALL_HEADERS   ( 0x03 << 5 )

Definition at line 712 of file os_qnxnto.h.

◆ RDCD_FLG_HC_HDR

#define RDCD_FLG_HC_HDR   ( 0x01 << 5 )

Definition at line 710 of file os_qnxnto.h.

◆ RDCD_FLG_HC_NONE

#define RDCD_FLG_HC_NONE   ( 0x00 << 5 )

Definition at line 709 of file os_qnxnto.h.

◆ RDCD_FLG_HC_SUBHEADER

#define RDCD_FLG_HC_SUBHEADER   ( 0x02 << 5 )

Definition at line 711 of file os_qnxnto.h.

◆ RDCD_FLG_SYNC

#define RDCD_FLG_SYNC   0x80

Definition at line 704 of file os_qnxnto.h.

◆ RDCD_FLG_UDATA

#define RDCD_FLG_UDATA   0x10

Definition at line 705 of file os_qnxnto.h.

◆ RP_OPT_BT

#define RP_OPT_BT   0x01

Definition at line 803 of file os_qnxnto.h.

◆ RP_OPT_LNG

#define RP_OPT_LNG   0x02

Definition at line 804 of file os_qnxnto.h.

◆ RP_OPT_TCLP

#define RP_OPT_TCLP   0x04

Definition at line 805 of file os_qnxnto.h.

◆ RSCHNL_DATA_SUBQ

#define RSCHNL_DATA_SUBQ   0x40

Definition at line 669 of file os_qnxnto.h.

◆ RSCHNL_OPT_MSF

#define RSCHNL_OPT_MSF   0x02

Definition at line 667 of file os_qnxnto.h.

◆ RTOC_CNTL_FMT_SESSION

#define RTOC_CNTL_FMT_SESSION   0x40

Definition at line 585 of file os_qnxnto.h.

◆ RTOC_FMT_ATIP

#define RTOC_FMT_ATIP   0x4

Definition at line 577 of file os_qnxnto.h.

◆ RTOC_FMT_CDTEXT

#define RTOC_FMT_CDTEXT   0x5

Definition at line 578 of file os_qnxnto.h.

◆ RTOC_FMT_QSUBCHNL

#define RTOC_FMT_QSUBCHNL   0x3

Definition at line 576 of file os_qnxnto.h.

◆ RTOC_FMT_QSUBCODE

#define RTOC_FMT_QSUBCODE   0x2

Definition at line 575 of file os_qnxnto.h.

◆ RTOC_FMT_SESSION

#define RTOC_FMT_SESSION   0x1

Definition at line 574 of file os_qnxnto.h.

◆ RTOC_FMT_TOC

#define RTOC_FMT_TOC   0x0

Definition at line 573 of file os_qnxnto.h.

◆ RTOC_OPT_MSF

#define RTOC_OPT_MSF   0x02

Definition at line 571 of file os_qnxnto.h.

◆ RW_OPT_CORRCT

#define RW_OPT_CORRCT   0x02

Definition at line 342 of file os_qnxnto.h.

◆ RW_OPT_DPO

#define RW_OPT_DPO   0x10

Definition at line 344 of file os_qnxnto.h.

◆ RW_OPT_FUA

#define RW_OPT_FUA   0x08

Definition at line 343 of file os_qnxnto.h.

◆ RW_OPT_RELADR

#define RW_OPT_RELADR   0x01

Definition at line 341 of file os_qnxnto.h.

◆ SC_ATA_PT16

#define SC_ATA_PT16   0x85

Definition at line 63 of file os_qnxnto.h.

◆ SC_OPT_IMMED

#define SC_OPT_IMMED   0x02

Definition at line 493 of file os_qnxnto.h.

◆ SC_OPT_RELADR

#define SC_OPT_RELADR   0x01

Definition at line 492 of file os_qnxnto.h.

◆ SENSE_DATA_FMT_DESCRIPTOR

#define SENSE_DATA_FMT_DESCRIPTOR   0x02

Definition at line 112 of file os_qnxnto.h.

◆ SENSE_DTYPE_ATA

#define SENSE_DTYPE_ATA   0x09

Definition at line 176 of file os_qnxnto.h.

◆ SENSE_DTYPE_BLOCK

#define SENSE_DTYPE_BLOCK   0x05

Definition at line 172 of file os_qnxnto.h.

◆ SENSE_DTYPE_CSI

#define SENSE_DTYPE_CSI   0x01

Definition at line 168 of file os_qnxnto.h.

◆ SENSE_DTYPE_FRU

#define SENSE_DTYPE_FRU   0x03

Definition at line 170 of file os_qnxnto.h.

◆ SENSE_DTYPE_INFORMATION

#define SENSE_DTYPE_INFORMATION   0x00

Definition at line 167 of file os_qnxnto.h.

◆ SENSE_DTYPE_OSD_ATR_IDENT

#define SENSE_DTYPE_OSD_ATR_IDENT   0x08

Definition at line 175 of file os_qnxnto.h.

◆ SENSE_DTYPE_OSD_INTEGRITY

#define SENSE_DTYPE_OSD_INTEGRITY   0x07

Definition at line 174 of file os_qnxnto.h.

◆ SENSE_DTYPE_OSD_OBJ_IDENT

#define SENSE_DTYPE_OSD_OBJ_IDENT   0x06

Definition at line 173 of file os_qnxnto.h.

◆ SENSE_DTYPE_SKS

#define SENSE_DTYPE_SKS   0x02

Definition at line 169 of file os_qnxnto.h.

◆ SENSE_DTYPE_STREAM

#define SENSE_DTYPE_STREAM   0x04

Definition at line 171 of file os_qnxnto.h.

◆ SK_BLNK_CHK

#define SK_BLNK_CHK   8

Definition at line 255 of file os_qnxnto.h.

◆ SK_CMD_ABORT

#define SK_CMD_ABORT   11

Definition at line 258 of file os_qnxnto.h.

◆ SK_CPY_ABORT

#define SK_CPY_ABORT   10

Definition at line 257 of file os_qnxnto.h.

◆ SK_DATA_PROT

#define SK_DATA_PROT   7

Definition at line 252 of file os_qnxnto.h.

◆ SK_EQUAL

#define SK_EQUAL   12

Definition at line 259 of file os_qnxnto.h.

◆ SK_HARDWARE

#define SK_HARDWARE   4

Definition at line 231 of file os_qnxnto.h.

◆ SK_ILLEGAL

#define SK_ILLEGAL   5

Definition at line 236 of file os_qnxnto.h.

◆ SK_MEDIUM

#define SK_MEDIUM   3

Definition at line 224 of file os_qnxnto.h.

◆ SK_MISCMP

#define SK_MISCMP   14

Definition at line 261 of file os_qnxnto.h.

◆ SK_MSK

#define SK_MSK   0x0F

Definition at line 199 of file os_qnxnto.h.

◆ SK_NO_SENSE

#define SK_NO_SENSE   0

Definition at line 201 of file os_qnxnto.h.

◆ SK_NOT_RDY

#define SK_NOT_RDY   2

Definition at line 211 of file os_qnxnto.h.

◆ SK_RECOVERED

#define SK_RECOVERED   1

Definition at line 207 of file os_qnxnto.h.

◆ SK_RESERVED

#define SK_RESERVED   15

Definition at line 262 of file os_qnxnto.h.

◆ SK_UNIT_ATN

#define SK_UNIT_ATN   6

Definition at line 245 of file os_qnxnto.h.

◆ SK_VENDOR

#define SK_VENDOR   9

Definition at line 256 of file os_qnxnto.h.

◆ SK_VOL_OFL

#define SK_VOL_OFL   13

Definition at line 260 of file os_qnxnto.h.

◆ SPACE_CODE_BLOCKS

#define SPACE_CODE_BLOCKS   0x00

Definition at line 831 of file os_qnxnto.h.

◆ SPACE_CODE_EOD

#define SPACE_CODE_EOD   0x03

Definition at line 834 of file os_qnxnto.h.

◆ SPACE_CODE_FMRKS

#define SPACE_CODE_FMRKS   0x01

Definition at line 832 of file os_qnxnto.h.

◆ SPACE_CODE_SEQ_FMRKS

#define SPACE_CODE_SEQ_FMRKS   0x02

Definition at line 833 of file os_qnxnto.h.

◆ SPACE_CODE_SEQ_SMRKS

#define SPACE_CODE_SEQ_SMRKS   0x05

Definition at line 836 of file os_qnxnto.h.

◆ SPACE_CODE_SMRKS

#define SPACE_CODE_SMRKS   0x04

Definition at line 835 of file os_qnxnto.h.

◆ SRW_OPT_FIXED

#define SRW_OPT_FIXED   0x01

Definition at line 813 of file os_qnxnto.h.

◆ SRW_OPT_SILI

#define SRW_OPT_SILI   0x02

Definition at line 814 of file os_qnxnto.h.

◆ WF_OPT_IMMED

#define WF_OPT_IMMED   0x01

Definition at line 844 of file os_qnxnto.h.

◆ WF_OPT_WSMK

#define WF_OPT_WSMK   0x02

Definition at line 845 of file os_qnxnto.h.

Typedef Documentation

◆ ATA_PASS_THRU

typedef struct _ata_pass_thru ATA_PASS_THRU

Definition at line 34 of file os_qnxnto.h.

◆ ATA_SENSE

typedef struct _ata_sense ATA_SENSE

Definition at line 36 of file os_qnxnto.h.

◆ ATA_STATUS_DESCRIPTOR

◆ CCB

typedef void CCB

Definition at line 38 of file os_qnxnto.h.

◆ CDB

typedef union _cdb CDB

◆ DRIVE_ATTRIBUTE

◆ EIDE_IDENTIFY

typedef struct _eide_identify EIDE_IDENTIFY

Definition at line 35 of file os_qnxnto.h.

◆ SCSI_SENSE

typedef struct _scsi_sense SCSI_SENSE

◆ SCSI_SENSE_DESCRIPTOR

◆ SCSI_SENSE_DESCRIPTOR_HEADER

Variable Documentation

◆ ata_pass_thru_

struct _ata_pass_thru ata_pass_thru_