]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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, RISCV64 and LoongArch, this I/O library only provides
8 # non I/O 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 # Portions Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
15 #
16 # SPDX-License-Identifier: BSD-2-Clause-Patent
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = BaseIoLibIntrinsic
23 MODULE_UNI_FILE = BaseIoLibIntrinsic.uni
24 FILE_GUID = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307
25 MODULE_TYPE = BASE
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = IoLib
28
29
30 #
31 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64
32 #
33
34 [Sources]
35 IoLibMmioBuffer.c
36 BaseIoLibIntrinsicInternal.h
37 IoHighLevel.c
38 IoLibInternalTdxNull.c
39 IoLibTdx.h
40
41 [Sources.IA32]
42 IoLibGcc.c | GCC
43 IoLibMsc.c | MSFT
44 IoLib.c
45 Ia32/IoFifo.nasm
46
47 [Sources.X64]
48 IoLibGcc.c | GCC
49 IoLibMsc.c | MSFT
50 IoLib.c
51 X64/IoFifo.nasm
52
53 [Sources.EBC]
54 IoLibEbc.c
55 IoLib.c
56
57 [Sources.ARM]
58 IoLibNoIo.c
59
60 [Sources.AARCH64]
61 IoLibNoIo.c
62
63 [Sources.RISCV64]
64 IoLibNoIo.c
65
66 [Sources.LOONGARCH64]
67 IoLibNoIo.c
68
69 [Packages]
70 MdePkg/MdePkg.dec
71
72 [LibraryClasses]
73 DebugLib
74 BaseLib
75 RegisterFilterLib
76