EFI_STATUS\r
EFIAPI\r
AhciCheckMemSet (\r
- IN EFI_PCI_IO_PROTOCOL *PciIo,\r
- IN UINT32 Offset,\r
- IN UINT32 MaskValue,\r
- IN UINT32 TestValue,\r
- IN UINTN *RetryTimes\r
+ IN EFI_PCI_IO_PROTOCOL *PciIo,\r
+ IN UINT32 Offset,\r
+ IN UINT32 MaskValue,\r
+ IN UINT32 TestValue,\r
+ IN OUT UINTN *RetryTimes\r
)\r
{\r
UINT32 Value;\r
to host;Read equals 0, means data transferred
from host to device.
@param[in] AtaCommandBlock A pointer to EFI_ATA_COMMAND_BLOCK data structure.
- @param[in] AtaStatusBlock A pointer to EFI_ATA_STATUS_BLOCK data structure.
+ @param[in, out] AtaStatusBlock A pointer to EFI_ATA_STATUS_BLOCK data structure.
@param[in] Timeout The time to complete the command.
@param[in] Task Optional. Pointer to the ATA_NONBLOCK_TASK
used by non-blocking mode.
@param[in] IdeRegisters A pointer to EFI_IDE_REGISTERS data structure.\r
@param[in, out] Buffer A pointer to the source buffer for the data.\r
@param[in] ByteCount The length of the data.\r
- @param[in] Read Flag used to determine the data transfer direction.\r
+ @param[in] Read Flag used to determine the data transfer direction.\r
Read equals 1, means data transferred from device\r
to host;Read equals 0, means data transferred\r
from host to device.\r
@param[in] AtaCommandBlock A pointer to EFI_ATA_COMMAND_BLOCK data structure.\r
- @param[in] AtaStatusBlock A pointer to EFI_ATA_STATUS_BLOCK data structure.\r
+ @param[in, out] AtaStatusBlock A pointer to EFI_ATA_STATUS_BLOCK data structure.\r
@param[in] Timeout The time to complete the command.\r
@param[in] Task Optional. Pointer to the ATA_NONBLOCK_TASK\r
used by non-blocking mode.\r
VOID\r
EFIAPI \r
FreeAtaSubTask (\r
- IN ATA_BUS_ASYN_TASK *Task\r
+ IN OUT ATA_BUS_ASYN_TASK *Task\r
);\r
\r
/**\r
than zero, then this function will return EFI_TIMEOUT\r
if the time required to execute the receive data command\r
is greater than Timeout.\r
+ @param TransferLengthOut A pointer to a buffer to store the size in bytes of the data\r
+ written to the buffer. Ignore it when IsTrustSend is TRUE.\r
\r
@retval EFI_SUCCESS The data transfer is complete successfully.\r
@return others Some error occurs when transferring data. \r
IN UINTN PayloadBufferSize,\r
OUT VOID *PayloadBuffer,\r
OUT UINTN *PayloadTransferSize\r
-);\r
+ );\r
\r
/**\r
Send a security protocol command to a device.\r
IN UINT16 SecurityProtocolSpecificData,\r
IN UINTN PayloadBufferSize,\r
IN VOID *PayloadBuffer\r
-);\r
+ );\r
\r
#endif\r
if it is NULL, blocking mode, and use the packet\r
in AtaDevice. If it is not NULL, non blocking mode,\r
and pass down this Packet.\r
- @param[in] Event If Event is NULL, then blocking I/O is performed.\r
+ @param[in, out] Event If Event is NULL, then blocking I/O is performed.\r
If Event is not NULL and non-blocking I/O is\r
supported,then non-blocking I/O is performed,\r
and Event will be signaled when the write\r
VOID\r
EFIAPI \r
FreeAtaSubTask (\r
- IN ATA_BUS_ASYN_TASK *Task\r
+ IN OUT ATA_BUS_ASYN_TASK *Task\r
)\r
{\r
if (Task->Packet.Asb != NULL) {\r
than zero, then this function will return EFI_TIMEOUT\r
if the time required to execute the receive data command\r
is greater than Timeout.\r
+ @param TransferLengthOut A pointer to a buffer to store the size in bytes of the data\r
+ written to the buffer. Ignore it when IsTrustSend is TRUE.\r
\r
@retval EFI_SUCCESS The data transfer is complete successfully.\r
@return others Some error occurs when transferring data. \r
for Partition entry array.\r
\r
@param[in] BlockIo Parent BlockIo interface\r
- @param[in] BlockIo2 Parent BlockIo2 interface.\r
@param[in] DiskIo Disk Io Protocol.\r
@param[in] PartHeader Partition table header structure\r
\r
this request will not be signaled. \r
\r
@param[in] This Indicates a pointer to the calling context.\r
- @param[in,out] Token A pointer to the token associated with the transaction\r
+ @param[in, out] Token A pointer to the token associated with the transaction\r
\r
@retval EFI_SUCCESS The flush request was queued if Event is not NULL.\r
All outstanding data was written correctly to the\r