]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
update function comments
[mirror_edk2.git] / IntelFrameworkPkg / Library / DxeIoLibCpuIo / IoLib.c
index d4768b25f02640332ec564c7a500f8b315b08c1c..ff0e32329168f2191adb3e929d35580b22cb8271 100644 (file)
@@ -248,6 +248,8 @@ IoWrite8 (
   This function must guarantee that all I/O read and write operations are\r
   serialized.\r
 \r
+  If Port is not aligned on a 16-bit boundary, then ASSERT().\r
\r
   If 16-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to read.\r
@@ -275,6 +277,8 @@ IoRead16 (
   and returns Value. This function must guarantee that all I/O read and write\r
   operations are serialized.\r
 \r
+  If Port is not aligned on a 16-bit boundary, then ASSERT().\r
+\r
   If 16-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to write.\r
@@ -303,6 +307,8 @@ IoWrite16 (
   Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.\r
   This function must guarantee that all I/O read and write operations are\r
   serialized.\r
\r
+  If Port is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   If 32-bit I/O port operations are not supported, then ASSERT().\r
 \r
@@ -331,6 +337,8 @@ IoRead32 (
   and returns Value. This function must guarantee that all I/O read and write\r
   operations are serialized.\r
 \r
+  If Port is not aligned on a 32-bit boundary, then ASSERT().\r
+\r
   If 32-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to write.\r
@@ -360,6 +368,8 @@ IoWrite32 (
   This function must guarantee that all I/O read and write operations are\r
   serialized.\r
 \r
+  If Port is not aligned on a 64-bit boundary, then ASSERT().\r
+\r
   If 64-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to read.\r
@@ -387,6 +397,8 @@ IoRead64 (
   and returns Value. This function must guarantee that all I/O read and write\r
   operations are serialized.\r
 \r
+  If Port is not aligned on a 64-bit boundary, then ASSERT().\r
\r
   If 64-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to write.\r
@@ -462,6 +474,8 @@ MmioWrite8 (
   returned. This function must guarantee that all MMIO read and write\r
   operations are serialized.\r
 \r
+  If Address is not aligned on a 16-bit boundary, then ASSERT().\r
\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -489,6 +503,8 @@ MmioRead16 (
   by Value and returns Value. This function must guarantee that all MMIO read\r
   and write operations are serialized.\r
 \r
+  If Address is not aligned on a 16-bit boundary, then ASSERT().\r
\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
@@ -516,6 +532,8 @@ MmioWrite16 (
   returned. This function must guarantee that all MMIO read and write\r
   operations are serialized.\r
 \r
+  If Address is not aligned on a 32-bit boundary, then ASSERT().\r
+  \r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -543,6 +561,8 @@ MmioRead32 (
   by Value and returns Value. This function must guarantee that all MMIO read\r
   and write operations are serialized.\r
 \r
+  If Address is not aligned on a 32-bit boundary, then ASSERT().\r
\r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
@@ -570,6 +590,8 @@ MmioWrite32 (
   returned. This function must guarantee that all MMIO read and write\r
   operations are serialized.\r
 \r
+  If Address is not aligned on a 64-bit boundary, then ASSERT().\r
\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -597,6 +619,8 @@ MmioRead64 (
   by Value and returns Value. This function must guarantee that all MMIO read\r
   and write operations are serialized.\r
 \r
+  If Address is not aligned on a 64-bit boundary, then ASSERT().\r
\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r