]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c
remove unnecessary comments introduced by tools from MdePkg. The regular express...
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / IoLibGcc.c
index 69fb878888fdd532ed48ae1193ce6b767a39a694..1377650042a8accb296039b7d002ec8476cbc329 100644 (file)
@@ -10,7 +10,7 @@
   We don't advocate putting compiler specifics in libraries or drivers but there\r
   is no other way to make this work.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2007, 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
   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:  IoLibGcc.c\r
-\r
 **/\r
 \r
-#ifdef __GNUC__\r
+\r
+#include "BaseIoLibIntrinsicInternal.h"\r
 \r
 /**\r
   Reads an 8-bit MMIO register.\r
@@ -36,7 +35,7 @@
 \r
   @param  Address The MMIO register to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Address.\r
 \r
 **/\r
 UINT8\r
@@ -60,6 +59,9 @@ MmioRead8 (
   @param  Address The MMIO register to write.\r
   @param  Value   The value to write to the MMIO register.\r
 \r
+  @return The value written to the Mmio. It equals to the input\r
+          Value instead of the actual value read back from the\r
+          Mmio.\r
 **/\r
 UINT8\r
 EFIAPI\r
@@ -82,7 +84,7 @@ MmioWrite8 (
 \r
   @param  Address The MMIO register to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Address.\r
 \r
 **/\r
 UINT16\r
@@ -107,6 +109,9 @@ MmioRead16 (
   @param  Address The MMIO register to write.\r
   @param  Value   The value to write to the MMIO register.\r
 \r
+  @return The value written to the Mmio. It equals to the input\r
+          Value instead of the actual value read back from the\r
+          Mmio.\r
 **/\r
 UINT16\r
 EFIAPI\r
@@ -130,7 +135,7 @@ MmioWrite16 (
 \r
   @param  Address The MMIO register to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Address.\r
 \r
 **/\r
 UINT32\r
@@ -155,6 +160,9 @@ MmioRead32 (
   @param  Address The MMIO register to write.\r
   @param  Value   The value to write to the MMIO register.\r
 \r
+  @return The value written to the Mmio. It equals to the input\r
+          Value instead of the actual value read back from the\r
+          Mmio.\r
 **/\r
 UINT32\r
 EFIAPI\r
@@ -178,7 +186,7 @@ MmioWrite32 (
 \r
   @param  Address The MMIO register to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Address.\r
 \r
 **/\r
 UINT64\r
@@ -203,6 +211,9 @@ MmioRead64 (
   @param  Address The MMIO register to write.\r
   @param  Value   The value to write to the MMIO register.\r
 \r
+  @return The value written to the Mmio. It equals to the input\r
+          Value instead of the actual value read back from the\r
+          Mmio.\r
 **/\r
 UINT64\r
 EFIAPI\r
@@ -228,7 +239,7 @@ MmioWrite64 (
 \r
   @param  Port  The I/O port to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Port.\r
 \r
 **/\r
 __inline__\r
@@ -256,7 +267,9 @@ IoRead8 (
   @param  Port  The I/O port to write.\r
   @param  Value The value to write to the I/O port.\r
 \r
-  @return The value written the I/O port.\r
+  @return The value written to the I/O port. It equals to the\r
+          input Value instead of the actual value read back from\r
+          the I/O port.\r
 \r
 **/\r
 __inline__\r
@@ -282,7 +295,7 @@ IoWrite8 (
 \r
   @param  Port  The I/O port to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Port.\r
 \r
 **/\r
 __inline__\r
@@ -311,7 +324,9 @@ IoRead16 (
   @param  Port  The I/O port to write.\r
   @param  Value The value to write to the I/O port.\r
 \r
-  @return The value written the I/O port.\r
+  @return The value written to the I/O port. It equals to the\r
+          input Value instead of the actual value read back from\r
+          the I/O port.\r
 \r
 **/\r
 __inline__\r
@@ -338,7 +353,7 @@ IoWrite16 (
 \r
   @param  Port  The I/O port to read.\r
 \r
-  @return The value read.\r
+  @return The value read from Port.\r
 \r
 **/\r
 __inline__\r
@@ -367,7 +382,9 @@ IoRead32 (
   @param  Port  The I/O port to write.\r
   @param  Value The value to write to the I/O port.\r
 \r
-  @return The value written the I/O port.\r
+  @return The value written to the I/O port. It equals to the\r
+          input Value instead of the actual value read back from\r
+          the I/O port.\r
 \r
 **/\r
 __inline__\r
@@ -383,4 +400,3 @@ IoWrite32 (
   return Value;\r
 }\r
 \r
-#endif\r