EFI_ATA_PASS_THRU_COMMAND_PACKET Struct Reference


Data Fields

EFI_ATA_STATUS_BLOCKAsb
EFI_ATA_COMMAND_BLOCKAcb
UINT64 Timeout
VOID * InDataBuffer
VOID * OutDataBuffer
UINT32 InTransferLength
UINT32 OutTransferLength
EFI_ATA_PASS_THRU_CMD_PROTOCOL Protocol
EFI_ATA_PASS_THRU_LENGTH Length

Field Documentation

A pointer to buffer that contains the Command Data Block to send to the ATA device specified by Port and PortMultiplierPort.

A pointer to the sense data that was generated by the execution of the ATA command. It must be aligned to the boundary specified in the IoAlign field in the EFI_ATA_PASS_THRU_MODE structure.

A pointer to the data buffer to transfer between the ATA controller and the ATA device for read and bidirectional commands. For all write and non data commands where InTransferLength is 0 this field is optional and may be NULL. If this field is not NULL, then it must be aligned on the boundary specified by the IoAlign field in the EFI_ATA_PASS_THRU_MODE structure.

On input, the size, in bytes, of InDataBuffer. On output, the number of bytes transferred between the ATA controller and the ATA device. If InTransferLength is larger than the ATA controller can handle, no data will be transferred, InTransferLength will be updated to contain the number of bytes that the ATA controller is able to transfer, and EFI_BAD_BUFFER_SIZE will be returned.

Specifies the way in which the ATA command length is encoded.

A pointer to the data buffer to transfer between the ATA controller and the ATA device for write or bidirectional commands. For all read and non data commands where OutTransferLength is 0 this field is optional and may be NULL. If this field is not NULL, then it must be aligned on the boundary specified by the IoAlign field in the EFI_ATA_PASS_THRU_MODE structure.

On Input, the size, in bytes of OutDataBuffer. On Output, the Number of bytes transferred between ATA Controller and the ATA device. If OutTransferLength is larger than the ATA controller can handle, no data will be transferred, OutTransferLength will be updated to contain the number of bytes that the ATA controller is able to transfer, and EFI_BAD_BUFFER_SIZE will be returned.

Specifies the protocol used when the ATA device executes the command.

The timeout, in 100 ns units, to use for the execution of this ATA command. A Timeout value of 0 means that this function will wait indefinitely for the ATA command to execute. If Timeout is greater than zero, then this function will return EFI_TIMEOUT if the time required to execute the ATA command is greater than Timeout.


Generated on Wed Sep 23 16:24:26 2015 for MdePkg[ALL] by  doxygen 1.5.7.1