#include "SBC.h"
#include "MSDLun.h"
#include "MSDDStateMachine.h"
Go to the source code of this file.
Defines | |
#define | SBC_STATE_READ 0x01 |
#define | SBC_STATE_WAIT_READ 0x02 |
#define | SBC_STATE_READ_ERROR 0x03 |
#define | SBC_STATE_NEXT_READ 0x04 |
#define | SBC_STATE_WRITE 0x05 |
#define | SBC_STATE_WAIT_WRITE 0x06 |
#define | SBC_STATE_WRITE_ERROR 0x07 |
#define | SBC_STATE_NEXT_WRITE 0x08 |
#define | SBC_STATE_NEXT_BLOCK 0x09 |
Functions | |
void | SBC_UpdateSenseData (SBCRequestSenseData *requestSenseData, unsigned char senseKey, unsigned char additionalSenseCode, unsigned char additionalSenseCodeQualifier) |
Updates the sense data of a LUN with the given key and codes. | |
unsigned char | SBC_GetCommandInformation (void *command, unsigned int *length, unsigned char *type, MSDLun *lun) |
Return information about the transfer length and direction expected by the device for a particular command. | |
unsigned char | SBC_ProcessCommand (MSDLun *lun, MSDCommandState *commandState) |
Processes a SBC command by dispatching it to a subfunction. |
SCSI commands implementation.
section Usage
Definition in file SBCMethods.h.