diff options
author | qianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-19 06:12:58 +0000 |
---|---|---|
committer | qianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-19 06:12:58 +0000 |
commit | 86d8e1994269161ae77ab46383415a4f0338b8df (patch) | |
tree | 18e054c689a3a25fea27c0471436298ca04f4410 /MdeModulePkg/Bus/Ata/AtaBusDxe | |
parent | b40f99a8c13a3da0b94fe923234abaee0f2cbe67 (diff) | |
download | edk2-platforms-86d8e1994269161ae77ab46383415a4f0338b8df.tar.xz |
Update the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition drivers) to make them be consistent with the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11678 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Ata/AtaBusDxe')
-rw-r--r-- | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h | 8 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h index 66a8a8f730..f9cd45ac51 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h @@ -199,7 +199,7 @@ FreeAlignedBuffer ( VOID
EFIAPI
FreeAtaSubTask (
- IN ATA_BUS_ASYN_TASK *Task
+ IN OUT ATA_BUS_ASYN_TASK *Task
);
/**
@@ -287,6 +287,8 @@ AccessAtaDevice( than zero, then this function will return EFI_TIMEOUT
if the time required to execute the receive data command
is greater than Timeout.
+ @param TransferLengthOut A pointer to a buffer to store the size in bytes of the data
+ written to the buffer. Ignore it when IsTrustSend is TRUE.
@retval EFI_SUCCESS The data transfer is complete successfully.
@return others Some error occurs when transferring data.
@@ -947,7 +949,7 @@ AtaStorageSecurityReceiveData ( IN UINTN PayloadBufferSize,
OUT VOID *PayloadBuffer,
OUT UINTN *PayloadTransferSize
-);
+ );
/**
Send a security protocol command to a device.
@@ -1020,6 +1022,6 @@ AtaStorageSecuritySendData ( IN UINT16 SecurityProtocolSpecificData,
IN UINTN PayloadBufferSize,
IN VOID *PayloadBuffer
-);
+ );
#endif
diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c index 2445f1839f..58a9117f5d 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c @@ -106,7 +106,7 @@ UINTN mMaxTransferBlockNumber[] = { if it is NULL, blocking mode, and use the packet
in AtaDevice. If it is not NULL, non blocking mode,
and pass down this Packet.
- @param[in] Event If Event is NULL, then blocking I/O is performed.
+ @param[in, out] Event If Event is NULL, then blocking I/O is performed.
If Event is not NULL and non-blocking I/O is
supported,then non-blocking I/O is performed,
and Event will be signaled when the write
@@ -527,7 +527,7 @@ TransferAtaDevice ( VOID
EFIAPI
FreeAtaSubTask (
- IN ATA_BUS_ASYN_TASK *Task
+ IN OUT ATA_BUS_ASYN_TASK *Task
)
{
if (Task->Packet.Asb != NULL) {
@@ -805,6 +805,8 @@ EXIT: than zero, then this function will return EFI_TIMEOUT
if the time required to execute the receive data command
is greater than Timeout.
+ @param TransferLengthOut A pointer to a buffer to store the size in bytes of the data
+ written to the buffer. Ignore it when IsTrustSend is TRUE.
@retval EFI_SUCCESS The data transfer is complete successfully.
@return others Some error occurs when transferring data.
|