]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg: Replace BSD License with BSD+Patent License
[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 - 2018, 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 #
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 #
13 #
14 ##
15
16 [Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = BaseCpuLib
19 MODULE_UNI_FILE = BaseCpuLib.uni
20 FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6
21 MODULE_TYPE = BASE
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = CpuLib
24
25
26 #
27 # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64
28 #
29
30 [Sources.IA32]
31 Ia32/CpuSleep.c | MSFT
32 Ia32/CpuFlushTlb.c | MSFT
33
34 Ia32/CpuSleep.nasm| INTEL
35 Ia32/CpuFlushTlb.nasm| INTEL
36
37 Ia32/CpuSleepGcc.c | GCC
38 Ia32/CpuFlushTlbGcc.c | GCC
39
40 [Sources.X64]
41 X64/CpuFlushTlb.nasm
42 X64/CpuSleep.nasm
43
44
45 [Sources.EBC]
46 Ebc/CpuSleepFlushTlb.c
47
48 [Sources.ARM]
49 Arm/CpuFlushTlb.asm | RVCT
50 Arm/CpuSleep.asm | RVCT
51 Arm/CpuFlushTlb.asm | MSFT
52 Arm/CpuSleep.asm | MSFT
53 Arm/CpuFlushTlb.S | GCC
54 Arm/CpuSleep.S | GCC
55
56 [Sources.AARCH64]
57 AArch64/CpuFlushTlb.S | GCC
58 AArch64/CpuSleep.S | GCC
59 AArch64/CpuFlushTlb.asm | MSFT
60 AArch64/CpuSleep.asm | MSFT
61
62 [Packages]
63 MdePkg/MdePkg.dec
64
65