]> git.proxmox.com Git - mirror_edk2.git/blob - PerformancePkg/Library/PeiTscTimerLib/PeiTscTimerLib.inf
TscTimerLib in PerformancePkg is a BASE type library, which should be used by any...
[mirror_edk2.git] / PerformancePkg / Library / PeiTscTimerLib / PeiTscTimerLib.inf
1 #/** @file
2 # Pei Timer Library which uses the Time Stamp Counter in the processor.
3 #
4 # A version of the Timer Library using the processor's TSC.
5 # The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.
6 # The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.
7 # This is the architectural behavior moving forward.
8 # TSC reads are much more efficient and do not incur the overhead associated with a ring transition or
9 # access to a platform resource.
10 #
11 # Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
12 # 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 [Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = PeiTscTimerLib
24 FILE_GUID = 342C36C0-15DF-43b4-9EC9-FBF748BFB3D1
25 MODULE_TYPE = PEIM
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = TimerLib|SEC PEIM PEI_CORE
28
29
30 #
31 # VALID_ARCHITECTURES = IA32 X64
32 #
33
34 [Sources.common]
35 PeiTscTimerLib.c
36
37
38 [Packages]
39 MdePkg/MdePkg.dec
40 PerformancePkg/PerformancePkg.dec
41
42
43 [LibraryClasses]
44 PcdLib
45 PciLib
46 IoLib
47 BaseLib
48 HobLib
49
50 [Guids]
51 gEfiTscFrequencyGuid ## PRODUCES ## Hob
52
53 [Pcd.common]
54 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress