MS_CommandStatusWrapper_t Struct Reference

Mass Storage Class Command Status Wrapper. More...

Data Fields

u32 Signature
 
u32 Tag
 
u32 DataTransferResidue
 
u8 Status
 

Detailed Description

Mass Storage Class Command Status Wrapper.

Type define for a Command Status Wrapper, used in the Mass Storage Bulk-Only Transport protocol.

Note
Regardless of CPU architecture, these values should be stored as little endian.

Field Documentation

◆ Signature

u32 MS_CommandStatusWrapper_t::Signature

Status block signature, must be MS_CSW_SIGNATURE to indicate a valid Command Status.

◆ Tag

u32 MS_CommandStatusWrapper_t::Tag

Unique command ID value, to associate a command block wrapper with its command status wrapper.

◆ DataTransferResidue

u32 MS_CommandStatusWrapper_t::DataTransferResidue

Number of bytes of data not processed in the SCSI command.

◆ Status

u8 MS_CommandStatusWrapper_t::Status

Status code of the issued command - a value from the MS_CommandStatusCodes_t enum.