]> git.proxmox.com Git - mirror_edk2.git/blame - PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
The size of platform memory above 1M is measured in kilobytes.
[mirror_edk2.git] / PerformancePkg / Library / TscTimerLib / PeiTscTimerLib.inf
CommitLineData
3a63a425 1## @file\r
d50f6f8b 2# Pei 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
SZ
23 BASE_NAME = PeiTscTimerLib\r
24 FILE_GUID = 342C36C0-15DF-43b4-9EC9-FBF748BFB3D1\r
25 MODULE_TYPE = PEIM\r
c06ad33e 26 VERSION_STRING = 1.0\r
034307a7 27 LIBRARY_CLASS = TimerLib|PEIM PEI_CORE\r
c06ad33e 28\r
29\r
30#\r
31# VALID_ARCHITECTURES = IA32 X64\r
32#\r
33\r
34[Sources.common]\r
034307a7 35 TscTimerLibShare.c\r
d50f6f8b 36 PeiTscTimerLib.c\r
77c9e747 37 TscTimerLibInternal.h\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
46 PcdLib\r
47 PciLib\r
48 IoLib\r
49 BaseLib\r
d50f6f8b
SZ
50 HobLib\r
51\r
52[Guids]\r
53 gEfiTscFrequencyGuid ## PRODUCES ## Hob\r
c06ad33e 54\r
55[Pcd.common]\r
56 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress\r