]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
Add check before use to make code run more safer.
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / BaseCpuLib.inf
... / ...
CommitLineData
1## @file\r
2# Instance of CPU Library for various architecture.\r
3#\r
4# CPU Library implemented using ASM functions for IA-32 and X64,\r
5# PAL CALLs for IPF, and empty functions for EBC.\r
6#\r
7# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
8# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
9#\r
10# This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php.\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17#\r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = BaseCpuLib\r
23 FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6\r
24 MODULE_TYPE = BASE\r
25 VERSION_STRING = 1.0\r
26 LIBRARY_CLASS = CpuLib \r
27\r
28\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM\r
31#\r
32\r
33[Sources.IA32]\r
34 Ia32/CpuSleep.c | MSFT \r
35 Ia32/CpuFlushTlb.c | MSFT \r
36\r
37 Ia32/CpuSleep.asm | INTEL \r
38 Ia32/CpuFlushTlb.asm | INTEL \r
39\r
40 Ia32/CpuSleepGcc.c | GCC \r
41 Ia32/CpuFlushTlbGcc.c | GCC \r
42\r
43[Sources.X64]\r
44 X64/CpuFlushTlb.asm \r
45 X64/CpuSleep.asm\r
46\r
47 X64/CpuSleep.S | GCC \r
48 X64/CpuFlushTlb.S | GCC \r
49\r
50[Sources.IPF]\r
51 Ipf/CpuFlushTlb.s\r
52 Ipf/CpuSleep.c\r
53\r
54[Sources.EBC]\r
55 Ebc/CpuSleepFlushTlb.c\r
56\r
57[Sources.ARM]\r
58 Arm/CpuFlushTlb.asm | RVCT\r
59 Arm/CpuSleep.asm | RVCT \r
60 Arm/CpuFlushTlb.S | GCC\r
61 Arm/CpuSleep.S | GCC \r
62\r
63[Packages]\r
64 MdePkg/MdePkg.dec\r
65\r
66\r
67[LibraryClasses.IPF]\r
68 PalLib\r
69 BaseLib\r