1## @file
2#  Instance of I/O Library using compiler intrinsics.
3#
4#  I/O Library that uses compiler intrinsics to perform IN and OUT instructions
5#  for IA-32 and x64.  On IPF, I/O port requests are translated into MMIO requests.
6#  MMIO requests are forwarded directly to memory.  For EBC, I/O port requests
7#  ASSERT().
8#
9#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
10#  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
11#
12#  This program and the accompanying materials
13#  are licensed and made available under the terms and conditions of the BSD License
14#  which accompanies this distribution. The full text of the license may be found at
15#  http://opensource.org/licenses/bsd-license.php.
16#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19#
20##
21
22[Defines]
23  INF_VERSION                    = 0x00010005
24  BASE_NAME                      = BaseIoLibIntrinsic
25  MODULE_UNI_FILE                = BaseIoLibIntrinsic.uni
26  FILE_GUID                      = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307
27  MODULE_TYPE                    = BASE
28  VERSION_STRING                 = 1.0
29  LIBRARY_CLASS                  = IoLib
30
31
32#
33#  VALID_ARCHITECTURES           = IA32 X64 EBC IPF ARM AARCH64
34#
35
36[Sources]
37  IoLibMmioBuffer.c
38  BaseIoLibIntrinsicInternal.h
39  IoHighLevel.c
40
41[Sources.IA32]
42  IoLibGcc.c    | GCC
43  IoLibMsc.c    | MSFT
44  IoLibIcc.c    | INTEL
45  IoLib.c
46
47[Sources.X64]
48  IoLibGcc.c    | GCC
49  IoLibMsc.c    | MSFT
50  IoLibIcc.c    | INTEL
51  IoLib.c
52
53[Sources.EBC]
54  IoLibEbc.c
55  IoLib.c
56
57[Sources.IPF]
58  IoLibIpf.c
59
60[Sources.ARM]
61  IoLibArm.c
62
63[Sources.AARCH64]
64  IoLibArm.c
65
66[Packages]
67  MdePkg/MdePkg.dec
68
69[LibraryClasses]
70  DebugLib
71  BaseLib
72
73[LibraryClasses.IPF]
74  PcdLib
75
76[Pcd.IPF]
77  gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf  ## SOMETIMES_CONSUMES
78
79