]> git.proxmox.com Git - mirror_edk2.git/blame - PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf
Allocate memory buffer to store TscFrequency, and InstallConfigurationTable with...
[mirror_edk2.git] / PerformancePkg / Library / DxeTscTimerLib / DxeTscTimerLib.inf
CommitLineData
3a63a425 1## @file\r
d50f6f8b 2# Dxe Timer Library which uses the Time Stamp Counter in the processor.\r
c06ad33e 3#\r
4# A version of the Timer Library using the processor's TSC.\r
5# The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.\r
6# The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.\r
7# This is the architectural behavior moving forward.\r
8# TSC reads are much more efficient and do not incur the overhead associated with a ring transition or\r
9# access to a platform resource.\r
10#\r
d50f6f8b 11# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
c06ad33e 12# This program and the accompanying materials\r
13# are licensed and made available under the terms and conditions of the BSD License\r
14# which accompanies this distribution. The full text of the license may be found at\r
15# http://opensource.org/licenses/bsd-license.php\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18#\r
3a63a425 19##\r
c06ad33e 20\r
21[Defines]\r
22 INF_VERSION = 0x00010005\r
d50f6f8b 23 BASE_NAME = DxeTscTimerLib\r
c06ad33e 24 FILE_GUID = 95ab030f-b4fd-4ee4-92a5-9e04e87634d9\r
d50f6f8b 25 MODULE_TYPE = DXE_DRIVER\r
c06ad33e 26 VERSION_STRING = 1.0\r
d50f6f8b 27 LIBRARY_CLASS = TimerLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r
c06ad33e 28\r
d50f6f8b 29 CONSTRUCTOR = DxeTscTimerLibConstructor\r
c06ad33e 30\r
31\r
32#\r
33# VALID_ARCHITECTURES = IA32 X64\r
34#\r
35\r
36[Sources.common]\r
d50f6f8b 37 DxeTscTimerLib.c\r
c06ad33e 38\r
39\r
40[Packages]\r
41 MdePkg/MdePkg.dec\r
42 PerformancePkg/PerformancePkg.dec\r
43\r
44\r
45[LibraryClasses]\r
a176509a 46 UefiBootServicesTableLib\r
c06ad33e 47 PcdLib\r
48 PciLib\r
49 IoLib\r
50 BaseLib\r
a176509a 51 UefiLib\r
4ae5165c 52 DebugLib\r
d50f6f8b
SZ
53\r
54[Guids]\r
a176509a 55 gEfiTscFrequencyGuid ## CONSUMES ## System Configuration Table\r
c06ad33e 56\r
57[Pcd.common]\r
58 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress\r