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