# Component description file for Intrinsic Base Io Library\r
#\r
# I/O Library that uses compiler intrinsics to perform IN and OUT instructions\r
-# for IA-32 and x64. It also performs direct memory access for MMIO services.\r
-# Copyright (c) 2007, Intel Corporation.\r
+# for IA-32, x64 and IPF. It also performs direct memory access for MMIO services.\r
+# Copyright (c) 2007 - 2008, Intel Corporation.\r
#\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
[Sources.common]\r
IoLibMmioBuffer.c\r
BaseIoLibIntrinsicInternal.h\r
+ IoHighLevel.c\r
\r
[Sources.Ia32]\r
- IoHighLevel.c\r
IoLibGcc.c | GCC\r
IoLibMsc.c | MSFT\r
IoLibIcc.c | INTEL\r
IoLib.c\r
\r
[Sources.X64]\r
- IoHighLevel.c\r
IoLibGcc.c | GCC\r
IoLibMsc.c | MSFT\r
IoLibIcc.c | INTEL\r
IoLib.c\r
\r
[Sources.IPF]\r
- IoHighLevel.c\r
IoLibIpf.c\r
\r
[Packages]\r
\r
This file includes package header files, dependent library classes.\r
\r
- Copyright (c) 2007, Intel Corporation.\r
+ Copyright (c) 2007 - 2008, Intel Corporation.\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
\r
#include <Base.h>\r
\r
-\r
#include <Library/IoLib.h>\r
#include <Library/BaseLib.h>\r
#include <Library/DebugLib.h>\r
-#include <Library/PcdLib.h>\r
\r
#endif\r
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
\r
**/\r
\r
-//\r
-// Include common header file for this module.\r
-//\r
#include "BaseIoLibIntrinsicInternal.h"\r
\r
/**\r
I/O Library. This file has compiler specifics for ICC as there\r
is no ANSI C standard for doing IO.\r
\r
- Copyright (c) 2006 - 2007, Intel Corporation<BR> All rights\r
+ Copyright (c) 2006 - 2008, Intel Corporation<BR> All rights\r
reserved. This program and the accompanying materials are\r
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
out dx, ax\r
}\r
\r
- //\r
- // Never reached return statement.\r
- //\r
return Value;\r
}\r
\r
/** @file\r
Common I/O Library routines.\r
\r
- Copyright (c) 2006 - 2007, 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
\r
**/\r
\r
-//\r
-// Include common header file for this module.\r
-//\r
+\r
#include "BaseIoLibIntrinsicInternal.h"\r
+#include <Library/PcdLib.h>\r
\r
#define MAP_PORT_BASE_TO_MEM(_Port) \\r
((((_Port) & 0xfffc) << 10) | ((_Port) & 0x0fff))\r
/** @file\r
I/O Library MMIO Buffer Functions.\r
\r
- Copyright (c) 2007, Intel Corporation<BR>\r
+ Copyright (c) 2007 - 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
\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 Length Size in bytes of the copy.\r
@param Buffer Pointer to a system memory buffer containing the data to write.\r
\r
@return Size in bytes of the copy.\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 Length Size in bytes of the copy.\r
@param Buffer Pointer to a system memory buffer containing the data to write.\r
\r
@return Size in bytes of the copy.\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 Length Size in bytes of the copy.\r
@param Buffer Pointer to a system memory buffer containing the data to write.\r
\r
@return Size in bytes of the copy.\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 Length Size in bytes of the copy.\r
@param Buffer Pointer to a system memory buffer containing the data to write.\r
\r
@return Size in bytes of the copy.\r