]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeIoLibCpuIo2/IoLibMmioBuffer.c
MdePkg/BaseMemoryLib: widen aligned accesses to 32 or 64 bits
[mirror_edk2.git] / MdePkg / Library / DxeIoLibCpuIo2 / IoLibMmioBuffer.c
index ad6ce3369ff66138454460a128e8038200565261..9e14c258c6e33ebbb2a475174f90291c686bf804 100644 (file)
@@ -25,9 +25,9 @@
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\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  Buffer          Pointer to a system memory buffer receiving the data read.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied from.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
   @return Buffer\r
 \r
@@ -70,11 +70,11 @@ MmioReadBuffer8 (
   \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
-  @param  Length          Size in bytes of the copy.\r
-  @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied from.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT16 *\r
@@ -121,11 +121,11 @@ MmioReadBuffer16 (
   If Length is not aligned on a 32-bit boundary, then ASSERT().\r
   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  Buffer          Pointer to a system memory buffer receiving the data read.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied from.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT32 *\r
@@ -173,11 +173,11 @@ MmioReadBuffer32 (
  \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
-  @param  Length          Size in bytes of the copy.\r
-  @param  Buffer          Pointer to a system memory buffer receiving the data read.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied from.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer receiving the data read.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT64 *\r
@@ -221,11 +221,11 @@ MmioReadBuffer64 (
   If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT().\r
 \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  Buffer          Pointer to a system memory buffer containing the data to write.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied to.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT8 *\r
@@ -267,11 +267,11 @@ MmioWriteBuffer8 (
 \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 to.\r
-  @param  Length     Size in bytes of the copy.\r
-  @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied to.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT16 *\r
@@ -321,11 +321,11 @@ MmioWriteBuffer16 (
 \r
   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  Buffer          Pointer to a system memory buffer containing the data to write.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied to.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT32 *\r
@@ -374,11 +374,11 @@ MmioWriteBuffer32 (
 \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 to.\r
-  @param  Length     Size in bytes of the copy.\r
-  @param  Buffer          Pointer to a system memory buffer containing the data to write.\r
+  @param  StartAddress    The starting address for the MMIO region to be copied to.\r
+  @param  Length          The size in bytes of the copy.\r
+  @param  Buffer          The pointer to a system memory buffer containing the data to write.\r
 \r
-  @return Buffer\r
+  @return Buffer.\r
 \r
 **/\r
 UINT64 *\r