]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update the function's descriptions (which is in AtaBus, AtaAtapiPassThru, Partition...
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 May 2011 06:12:58 +0000 (06:12 +0000)
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 May 2011 06:12:58 +0000 (06:12 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11678 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AhciMode.c
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.h
MdeModulePkg/Bus/Ata/AtaAtapiPassThru/IdeMode.c
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBus.h
MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c
MdeModulePkg/Universal/Disk/PartitionDxe/Gpt.c
MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c

index 7765bfc75c892ba5acf0064aea10f5b7ff456c7a..7acd96fa5026e87459d927c2e7aa1457d411f8a3 100644 (file)
@@ -201,11 +201,11 @@ AhciWaitMemSet (
 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
index 0987478564ac3d4e4939b48f9ab7d4b95c6d4808..1c1de4a4141be2928fe1c8f5fee586c96e70c2ec 100644 (file)
@@ -1269,7 +1269,7 @@ AtaUdmaInOut (
                                    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.
index 915e4bb296fd3cab4ed4c6307b940e9c6619443f..1a4ac45bc1dc89c4a18391549b487a6f8b3e88eb 100644 (file)
@@ -1128,12 +1128,12 @@ AtaIssueCommand (
   @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
index 66a8a8f730fb56aa1a1d2ee8b926bad3ed8aa727..f9cd45ac51437417391864fd19b4135f8be30ec4 100644 (file)
@@ -199,7 +199,7 @@ FreeAlignedBuffer (
 VOID\r
 EFIAPI \r
 FreeAtaSubTask (\r
-  IN ATA_BUS_ASYN_TASK  *Task\r
+  IN OUT ATA_BUS_ASYN_TASK  *Task\r
   );\r
 \r
 /**\r
@@ -287,6 +287,8 @@ AccessAtaDevice(
                                        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
@@ -947,7 +949,7 @@ AtaStorageSecurityReceiveData (
   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
@@ -1020,6 +1022,6 @@ AtaStorageSecuritySendData (
   IN UINT16                                   SecurityProtocolSpecificData,\r
   IN UINTN                                    PayloadBufferSize,\r
   IN VOID                                     *PayloadBuffer\r
-);\r
+  );\r
 \r
 #endif\r
index 2445f1839f4f82bd70bd84bbd1dbafc352c8ce0b..58a9117f5dcf38dcf7e837b5b2670945b83fbe1d 100644 (file)
@@ -106,7 +106,7 @@ UINTN mMaxTransferBlockNumber[] = {
                                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
@@ -527,7 +527,7 @@ TransferAtaDevice (
 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
@@ -805,6 +805,8 @@ EXIT:
                                        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
index 682e8b41b5a7e93679ca0c0b8202ed29219a5627..d80f959cdbfd273add2a5b3494287f22a70e9eb3 100644 (file)
@@ -481,7 +481,6 @@ PartitionValidGptTable (
   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
index 9de8312caec248afa01f30d430ef1172248c5c04..a4ddc5dc084e903d7cbcfceb8be0a576b599d43b 100644 (file)
@@ -912,7 +912,7 @@ PartitionWriteBlocksEx (
   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