]> git.proxmox.com Git - mirror_edk2.git/blob - PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
Add TscTimerLibInternal.h in INF file.
[mirror_edk2.git] / PerformancePkg / Library / TscTimerLib / DxeTscTimerLib.inf
1 ## @file
2 # Dxe 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 = DxeTscTimerLib
24 FILE_GUID = 95ab030f-b4fd-4ee4-92a5-9e04e87634d9
25 MODULE_TYPE = DXE_DRIVER
26 VERSION_STRING = 1.0
27 LIBRARY_CLASS = TimerLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE
28
29 CONSTRUCTOR = DxeTscTimerLibConstructor
30
31
32 #
33 # VALID_ARCHITECTURES = IA32 X64
34 #
35
36 [Sources.common]
37 TscTimerLibShare.c
38 DxeTscTimerLib.c
39 TscTimerLibInternal.h
40
41
42 [Packages]
43 MdePkg/MdePkg.dec
44 PerformancePkg/PerformancePkg.dec
45
46
47 [LibraryClasses]
48 UefiBootServicesTableLib
49 PcdLib
50 PciLib
51 IoLib
52 BaseLib
53 UefiLib
54 DebugLib
55
56 [Guids]
57 gEfiTscFrequencyGuid ## CONSUMES ## System Configuration Table
58
59 [Pcd.common]
60 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress