]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c
1. Correct File header to ## @file
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / IoLibMmioBuffer.c
index 4a54837413753706ca65f91350cf4ae3458ef5dc..f5679557737819e85dac58ac10667a3b63975490 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   I/O Library MMIO Buffer Functions.\r
 \r
-  Copyright (c) 2007, Intel Corporation<BR>\r
+  Copyright (c) 2007 - 2009, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
-  @param  Length          Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer contains the data read from Mmio.\r
+  @return Buffer\r
 \r
 **/\r
 UINT8 *\r
@@ -70,10 +70,10 @@ MmioReadBuffer8 (
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
-  @param  Length          Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer contains the data read from Mmio.\r
+  @return Buffer\r
 \r
 **/\r
 UINT16 *\r
@@ -121,10 +121,10 @@ MmioReadBuffer16 (
   If Buffer is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
-  @param  Length          Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer contains the data read from Mmio.\r
+  @return Buffer\r
 \r
 **/\r
 UINT32 *\r
@@ -172,10 +172,10 @@ MmioReadBuffer32 (
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
-  @param  Length          Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer contains the data read from Mmio.\r
+  @return Buffer\r
 \r
 **/\r
 UINT64 *\r
@@ -220,10 +220,10 @@ MmioReadBuffer64 (
 \r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied to.\r
-  @param  Length     Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Size in bytes of the copy.\r
+  @return Buffer\r
 \r
 **/\r
 UINT8 *\r
@@ -254,7 +254,7 @@ MmioWriteBuffer8 (
 \r
   Copy data from system memory specified by Buffer to MMIO region specified \r
   by starting address StartAddress by using 16-bit access. The total number \r
-  of byte to be copied is specified by Length. Length is returned.\r
+  of byte to be copied is specified by Length. Buffer is returned.\r
   \r
   If StartAddress is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
@@ -266,10 +266,10 @@ MmioWriteBuffer8 (
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied to.\r
-  @param  Length     Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Size in bytes of the copy.\r
+  @return Buffer\r
 \r
 **/\r
 UINT16 *\r
@@ -308,7 +308,7 @@ MmioWriteBuffer16 (
 \r
   Copy data from system memory specified by Buffer to MMIO region specified \r
   by starting address StartAddress by using 32-bit access. The total number \r
-  of byte to be copied is specified by Length. Length is returned.\r
+  of byte to be copied is specified by Length. Buffer is returned.\r
   \r
   If StartAddress is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
@@ -320,10 +320,10 @@ MmioWriteBuffer16 (
   If Buffer is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied to.\r
-  @param  Length     Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Size in bytes of the copy.\r
+  @return Buffer\r
 \r
 **/\r
 UINT32 *\r
@@ -361,7 +361,7 @@ MmioWriteBuffer32 (
 \r
   Copy data from system memory specified by Buffer to MMIO region specified \r
   by starting address StartAddress by using 64-bit access. The total number \r
-  of byte to be copied is specified by Length. Length is returned.\r
+  of byte to be copied is specified by Length. Buffer is returned.\r
   \r
   If StartAddress is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
@@ -373,10 +373,10 @@ MmioWriteBuffer32 (
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied to.\r
-  @param  Length     Size in bytes of the copy.\r
+  @param  Length          The size, in bytes, of Buffer.\r
   @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Size in bytes of the copy.\r
+  @return Buffer\r
 \r
 **/\r
 UINT64 *\r