]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / BaseIoLibIntrinsic.inf
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(). For ARM, AARCH64 and RISCV64, this I/O library only provides non I/O
8 # read and write.
9 #
10 # Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
11 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
12 # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>
13 # Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
14 #
15 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = BaseIoLibIntrinsic
22 MODULE_UNI_FILE = BaseIoLibIntrinsic.uni
23 FILE_GUID = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307
24 MODULE_TYPE = BASE
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = IoLib
27
28
29 #
30 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64
31 #
32
33 [Sources]
34 IoLibMmioBuffer.c
35 BaseIoLibIntrinsicInternal.h
36 IoHighLevel.c
37 IoLibInternalTdxNull.c
38 IoLibTdx.h
39
40 [Sources.IA32]
41 IoLibGcc.c | GCC
42 IoLibMsc.c | MSFT
43 IoLib.c
44 Ia32/IoFifo.nasm
45
46 [Sources.X64]
47 IoLibGcc.c | GCC
48 IoLibMsc.c | MSFT
49 IoLib.c
50 X64/IoFifo.nasm
51
52 [Sources.EBC]
53 IoLibEbc.c
54 IoLib.c
55
56 [Sources.ARM]
57 IoLibNoIo.c
58
59 [Sources.AARCH64]
60 IoLibNoIo.c
61
62 [Sources.RISCV64]
63 IoLibNoIo.c
64
65 [Packages]
66 MdePkg/MdePkg.dec
67
68 [LibraryClasses]
69 DebugLib
70 BaseLib
71 RegisterFilterLib
72