]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseIoLibIntrinsic/IoHighLevel.c
Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATI...
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / IoHighLevel.c
index d9702c9f57f779e81f69a7153539069d5e3eec37..4a4ea66999a522c0a44a8b44f23ac665364f50a5 100644 (file)
@@ -4,7 +4,7 @@
   All assertions for bit field operations are handled bit field functions in the\r
   Base Library.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, 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
@@ -13,9 +13,7 @@
   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:  IoHighLevel.c\r
-\r
-  The following IoLib instances share the same version of this file:\r
+  The following IoLib instances contain the same copy of this file:\r
 \r
     BaseIoLibIntrinsic\r
     DxeIoLibCpuIo\r
 \r
 **/\r
 \r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
+#include "BaseIoLibIntrinsicInternal.h"\r
 \r
 /**\r
   Reads an 8-bit I/O port, performs a bitwise inclusive OR, and writes the\r
@@ -132,7 +127,8 @@ IoAndThenOr8 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..7.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT8\r
@@ -412,7 +408,8 @@ IoAndThenOr16 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..15.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT16\r
@@ -692,7 +689,8 @@ IoAndThenOr32 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..31.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT32\r
@@ -972,7 +970,8 @@ IoAndThenOr64 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..63.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT64\r
@@ -1253,7 +1252,8 @@ MmioAndThenOr8 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..7.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT8\r
@@ -1535,7 +1535,8 @@ MmioAndThenOr16 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..15.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT16\r
@@ -1817,7 +1818,8 @@ MmioAndThenOr32 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..31.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT32\r
@@ -2099,7 +2101,8 @@ MmioAndThenOr64 (
   @param  EndBit    The ordinal of the most significant bit in the bit field.\r
                     Range 0..63.\r
 \r
-  @return The value read.\r
+  @return The value read from I/O port specified by StartBit and\r
+          EndBit.\r
 \r
 **/\r
 UINT64\r