]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
Add a new Timer Library instance SecPeiDxeTimerLibUefiCpu into UefiCpuPkg. This libra...
[mirror_edk2.git] / MdePkg / Library / SecPeiDxeTimerLibCpu / SecPeiDxeTimerLibCpu.inf
1 ## @file
2 # Instance of Timer Library only using CPU resources.
3 #
4 # Timer Library that only uses CPU resources to provide calibrated delays
5 # on IA-32, x64, and IPF.
6 # Note: Because CPU Local APIC and ITC could be programmed by OS, it cannot be
7 # used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM
8 # drivers and runtime drivers.
9 #
10 # Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC
11 # support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.
12 #
13 # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
14 #
15 # This program and the accompanying materials
16 # are licensed and made available under the terms and conditions of the BSD License
17 # which accompanies this distribution. The full text of the license may be found at
18 # http://opensource.org/licenses/bsd-license.php.
19 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
20 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #
22 #
23 ##
24
25 [Defines]
26 INF_VERSION = 0x00010005
27 BASE_NAME = SecPeiDxeTimerLibCpu
28 FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b
29 MODULE_TYPE = BASE
30 VERSION_STRING = 1.0
31 LIBRARY_CLASS = TimerLib|BASE DXE_CORE DXE_DRIVER DXE_SAL_DRIVER PEIM PEI_CORE SEC UEFI_APPLICATION UEFI_DRIVER
32
33
34 #
35 # VALID_ARCHITECTURES = IA32 X64 IPF
36 #
37
38 [Sources.Ia32, Sources.X64]
39 X86TimerLib.c
40
41 [Sources.IPF]
42 IpfTimerLib.c
43
44
45 [Packages]
46 MdePkg/MdePkg.dec
47
48
49 [LibraryClasses]
50 BaseLib
51
52 [LibraryClasses.IA32, LibraryClasses.X64]
53 PcdLib
54 IoLib
55 DebugLib
56
57 [LibraryClasses.IPF]
58 PalLib
59
60
61 [Pcd.IA32, Pcd.X64]
62 gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES
63