blob: d9529eb2e63fced7adcf61ec2017b25a69a6a0db [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301## @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.
7#
8# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
9# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
10#
11# This program and the accompanying materials
12# are licensed and made available under the terms and conditions of the BSD License
13# which accompanies this distribution. The full text of the license may be found at
14# http://opensource.org/licenses/bsd-license.php.
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18#
19##
20
21[Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = BaseIoLibIntrinsic
24 MODULE_UNI_FILE = BaseIoLibIntrinsic.uni
25 FILE_GUID = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307
26 MODULE_TYPE = BASE
27 VERSION_STRING = 1.0
28 LIBRARY_CLASS = IoLib
29
30
31#
32# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64
33#
34
35[Sources]
36 IoLibMmioBuffer.c
37 BaseIoLibIntrinsicInternal.h
38 IoHighLevel.c
39
40[Sources.IA32]
41 IoLibGcc.c | GCC
42 IoLibMsc.c | MSFT
43 IoLibIcc.c | INTEL
44 IoLib.c
45
46[Sources.X64]
47 IoLibGcc.c | GCC
48 IoLibMsc.c | MSFT
49 IoLibIcc.c | INTEL
50 IoLib.c
51
52[Sources.IPF]
53 IoLibIpf.c
54
55[Sources.ARM]
56 IoLibArm.c
57
58[Sources.AARCH64]
59 IoLibArm.c
60
61[Packages]
62 MdePkg/MdePkg.dec
63
64[LibraryClasses]
65 DebugLib
66 BaseLib
67
68[LibraryClasses.IPF]
69 PcdLib
70
71[Pcd.IPF]
72 gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf ## SOMETIMES_CONSUMES
73