]> git.proxmox.com Git - mirror_edk2.git/blob - UefiCpuPkg/Library/CpuTimerLib/PeiCpuTimerLib.inf
UefiCpuPkg: Adding a new TSC library by using CPUID(0x15) TSC leaf
[mirror_edk2.git] / UefiCpuPkg / Library / CpuTimerLib / PeiCpuTimerLib.inf
1 ## @file
2 # PEI CPU Timer Library
3 #
4 # Provides basic timer support using CPUID Leaf 0x15 XTAL frequency. The performance
5 # counter features are provided by the processors time stamp counter.
6 #
7 # Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
8 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 #
10 ##
11
12 [Defines]
13 INF_VERSION = 0x00010005
14 BASE_NAME = PeiCpuTimerLib
15 FILE_GUID = 2B13DE00-1A5F-4DD7-A298-01B08AF1015A
16 MODULE_TYPE = BASE
17 VERSION_STRING = 1.0
18 LIBRARY_CLASS = TimerLib|PEI_CORE PEIM
19 MODULE_UNI_FILE = PeiCpuTimerLib.uni
20
21 [Sources]
22 CpuTimerLib.c
23 PeiCpuTimerLib.c
24
25 [Packages]
26 MdePkg/MdePkg.dec
27 UefiCpuPkg/UefiCpuPkg.dec
28
29 [LibraryClasses]
30 BaseLib
31 PcdLib
32 DebugLib
33 HobLib
34
35 [Pcd]
36 gUefiCpuPkgTokenSpaceGuid.PcdCpuCoreCrystalClockFrequency ## CONSUMES