]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
637a3c5c932be19cf68d19dc89216313a84c2712
[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 IA-32 and X64,
5 # PAL CALLs for IPF, and empty functions for EBC.
6 #
7 # Copyright (c) 2007 - 2014, 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 # 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 = BaseCpuLib
24 MODULE_UNI_FILE = BaseCpuLib.uni
25 FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6
26 MODULE_TYPE = BASE
27 VERSION_STRING = 1.0
28 LIBRARY_CLASS = CpuLib
29
30
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64
33 #
34
35 [Sources.IA32]
36 Ia32/CpuSleep.c | MSFT
37 Ia32/CpuFlushTlb.c | MSFT
38
39 Ia32/CpuSleep.nasm| INTEL
40 Ia32/CpuSleep.asm | INTEL
41 Ia32/CpuFlushTlb.nasm| INTEL
42 Ia32/CpuFlushTlb.asm | INTEL
43
44 Ia32/CpuSleepGcc.c | GCC
45 Ia32/CpuFlushTlbGcc.c | GCC
46
47 [Sources.X64]
48 X64/CpuFlushTlb.nasm
49 X64/CpuFlushTlb.asm
50 X64/CpuSleep.nasm
51 X64/CpuSleep.asm
52
53 X64/CpuSleep.nasm| GCC
54 X64/CpuSleep.S | GCC
55 X64/CpuFlushTlb.nasm| GCC
56 X64/CpuFlushTlb.S | GCC
57
58 [Sources.IPF]
59 Ipf/CpuFlushTlb.s
60 Ipf/CpuSleep.c
61
62 [Sources.EBC]
63 Ebc/CpuSleepFlushTlb.c
64
65 [Sources.ARM]
66 Arm/CpuFlushTlb.asm | RVCT
67 Arm/CpuSleep.asm | RVCT
68 Arm/CpuFlushTlb.S | GCC
69 Arm/CpuSleep.S | GCC
70
71 [Sources.AARCH64]
72 AArch64/CpuFlushTlb.S | GCC
73 AArch64/CpuSleep.S | GCC
74
75 [Packages]
76 MdePkg/MdePkg.dec
77
78
79 [LibraryClasses.IPF]
80 PalLib
81 BaseLib
82