PeiTscTimerLib.inf revision 77c9e7473c19f324a737b362444461d97565a4e6
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|PEIM PEI_CORE 28 29 30# 31# VALID_ARCHITECTURES = IA32 X64 32# 33 34[Sources.common] 35 TscTimerLibShare.c 36 PeiTscTimerLib.c 37 TscTimerLibInternal.h 38 39 40[Packages] 41 MdePkg/MdePkg.dec 42 PerformancePkg/PerformancePkg.dec 43 44 45[LibraryClasses] 46 PcdLib 47 PciLib 48 IoLib 49 BaseLib 50 HobLib 51 52[Guids] 53 gEfiTscFrequencyGuid ## PRODUCES ## Hob 54 55[Pcd.common] 56 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress 57