]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLibMmioBuffer.c
Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful to both...
[mirror_edk2.git] / IntelFrameworkPkg / Library / DxeIoLibCpuIo / IoLibMmioBuffer.c
index f43db07fe6e3036b5b5c5431e5892076f4c352eb..d359be7ea84f2d3bb8b719820579f180661ff228 100644 (file)
@@ -10,6 +10,8 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
+  Module Name:  IoLibMmioBuffer.c\r
+\r
 **/\r
 \r
 \r
@@ -68,6 +70,7 @@ MmioReadBuffer8 (
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 16-bit boundary, then ASSERT().\r
+  \r
   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
@@ -170,6 +173,7 @@ MmioReadBuffer32 (
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 64-bit boundary, then ASSERT().\r
\r
   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
@@ -224,7 +228,7 @@ MmioReadBuffer64 (
   @param  Length     Size in bytes of the copy.\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
@@ -255,7 +259,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
@@ -270,7 +274,7 @@ MmioWriteBuffer8 (
   @param  Length     Size in bytes of the copy.\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
@@ -309,7 +313,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
@@ -324,7 +328,7 @@ MmioWriteBuffer16 (
   @param  Length     Size in bytes of the copy.\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
@@ -362,7 +366,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
@@ -377,7 +381,7 @@ MmioWriteBuffer32 (
   @param  Length     Size in bytes of the copy.\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