]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg/BaseCpuLib: Remove assembly for CpuFlushTlb
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / BaseCpuLib.inf
1 ## @file
2 # Instance of CPU Library for various architecture.
3 #
4 # CPU Library implemented using ASM functions for IA32, X64, ARM, AARCH64,
5 # PAL CALLs for IPF, and empty functions for EBC.
6 #
7 # Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>
8 # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
9 # Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
10 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
11 # Portions Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
12 #
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 #
16 ##
17
18 [Defines]
19 INF_VERSION = 0x00010005
20 BASE_NAME = BaseCpuLib
21 MODULE_UNI_FILE = BaseCpuLib.uni
22 FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6
23 MODULE_TYPE = BASE
24 VERSION_STRING = 1.0
25 LIBRARY_CLASS = CpuLib
26
27
28 #
29 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64
30 #
31
32 [Sources.IA32]
33 Ia32/CpuSleep.c | MSFT
34 Ia32/CpuSleep.nasm| INTEL
35 Ia32/CpuSleepGcc.c | GCC
36 X86CpuFlushTlb.c
37
38 [Sources.X64]
39 X86CpuFlushTlb.c
40 X64/CpuSleep.nasm
41
42
43 [Sources.EBC]
44 Ebc/CpuSleepFlushTlb.c
45
46 [Sources.ARM]
47 Arm/CpuFlushTlb.asm | MSFT
48 Arm/CpuSleep.asm | MSFT
49 Arm/CpuFlushTlb.S | GCC
50 Arm/CpuSleep.S | GCC
51
52 [Sources.AARCH64]
53 AArch64/CpuFlushTlb.S | GCC
54 AArch64/CpuSleep.S | GCC
55 AArch64/CpuFlushTlb.asm | MSFT
56 AArch64/CpuSleep.asm | MSFT
57
58 [Sources.RISCV64]
59 RiscV/Cpu.S
60
61 [Sources.LOONGARCH64]
62 LoongArch/CpuFlushTlb.S | GCC
63 LoongArch/CpuSleep.S | GCC
64
65 [Packages]
66 MdePkg/MdePkg.dec
67
68