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
\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
@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
\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
@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
\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
@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
\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
@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
\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
@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
\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
@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
\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
@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
return Value;\r
}\r
\r
-#endif\r