]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
3f7b5e7508bfb54fa7f7e54a98b82e598c2794c0
[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 # Copyright (c) 2007 - 2010, Intel Corporation.
11 #
12 # All rights reserved. This program and the accompanying materials
13 # are licensed and made available under the terms and conditions of the BSD License
14 # which accompanies this distribution. The full text of the license may be found at
15 # http://opensource.org/licenses/bsd-license.php
16 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #
19 #
20 ##
21
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = SecPeiDxeTimerLibCpu
25 FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b
26 MODULE_TYPE = BASE
27 VERSION_STRING = 1.0
28 LIBRARY_CLASS = TimerLib|BASE DXE_CORE DXE_DRIVER DXE_SAL_DRIVER PEIM PEI_CORE SEC UEFI_APPLICATION UEFI_DRIVER
29
30
31 #
32 # VALID_ARCHITECTURES = IA32 X64 IPF
33 #
34
35 [Sources.Ia32, Sources.X64]
36 X86TimerLib.c
37
38 [Sources.IPF]
39 IpfTimerLib.c
40
41
42 [Packages]
43 MdePkg/MdePkg.dec
44
45
46 [LibraryClasses]
47 BaseLib
48
49 [LibraryClasses.IA32, LibraryClasses.X64]
50 PcdLib
51 IoLib
52 DebugLib
53
54 [LibraryClasses.IPF]
55 PalLib
56
57
58 [Pcd.IA32, Pcd.X64]
59 gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES
60