VirtualBox

Changeset 14179 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Nov 13, 2008 3:37:49 PM (16 years ago)
Author:
vboxsync
Message:

Add defines for SCSI status codes. Useful for fine-grained error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/scsi.h

    r14118 r14179  
    126126
    127127
     128/* Status codes */
     129#define SCSI_STATUS_OK                          0x00
     130#define SCSI_STATUS_CHECK_CONDITION             0x02
     131#define SCSI_STATUS_CONDITION_MET               0x04
     132#define SCSI_STATUS_BUSY                        0x08
     133#define SCSI_STATUS_INTERMEDIATE                0x10
     134#define SCSI_STATUS_DATA_UNDEROVER_RUN          0x12
     135#define SCSI_STATUS_INTERMEDIATE_CONDITION_MET  0x14
     136#define SCSI_STATUS_RESERVATION_CONFLICT        0x18
     137#define SCSI_STATUS_COMMAND_TERMINATED          0x22
     138#define SCSI_STATUS_QUEUE_FULL                  0x28
     139#define SCSI_STATUS_ACA_ACTIVE                  0x30
     140#define SCSI_STATUS_TASK_ABORTED                0x40
     141
     142
    128143/* Sense keys */
    129144#define SCSI_SENSE_NONE             0
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette