]> git.proxmox.com Git - mirror_edk2.git/blame - PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
BaseTools: Update Python Makefile to include the new added python files
[mirror_edk2.git] / PerformancePkg / Library / TscTimerLib / BaseTscTimerLib.inf
CommitLineData
3a63a425 1## @file\r
034307a7
SZ
2# Base Timer Library which uses the Time Stamp Counter in the processor.\r
3#\r
4# Note: There will be 1ms penalty to get TSC frequency every time\r
5# by waiting for 3579 clocks of the ACPI timer, or 1ms.\r
c06ad33e 6#\r
c1589a2c
LG
7# Note: This library is a sample implementation that depends on chipset ACPI timer. \r
8# It may not work on new generation chipset. PcAtChipsetPkg AcpiTimerLib is \r
9# the generic timer library that can replace this one. \r
10#\r
c06ad33e 11# A version of the Timer Library using the processor's TSC.\r
12# The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.\r
13# The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.\r
14# This is the architectural behavior moving forward.\r
15# TSC reads are much more efficient and do not incur the overhead associated with a ring transition or\r
16# access to a platform resource.\r
17#\r
e8a61b96 18# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
c06ad33e 19# This program and the accompanying materials\r
20# are licensed and made available under the terms and conditions of the BSD License\r
21# which accompanies this distribution. The full text of the license may be found at\r
22# http://opensource.org/licenses/bsd-license.php\r
23# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
24# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
25#\r
3a63a425 26##\r
c06ad33e 27\r
28[Defines]\r
29 INF_VERSION = 0x00010005\r
034307a7
SZ
30 BASE_NAME = BaseTscTimerLib\r
31 FILE_GUID = D29338B9-50FE-4e4f-B7D4-A150A2C1F4FB\r
32 MODULE_TYPE = BASE\r
c06ad33e 33 VERSION_STRING = 1.0\r
034307a7 34 LIBRARY_CLASS = TimerLib\r
c06ad33e 35\r
36\r
37#\r
38# VALID_ARCHITECTURES = IA32 X64\r
39#\r
40\r
41[Sources.common]\r
034307a7
SZ
42 TscTimerLibShare.c\r
43 BaseTscTimerLib.c\r
77c9e747 44 TscTimerLibInternal.h\r
c06ad33e 45\r
46\r
47[Packages]\r
48 MdePkg/MdePkg.dec\r
49 PerformancePkg/PerformancePkg.dec\r
50\r
51\r
52[LibraryClasses]\r
53 PcdLib\r
54 PciLib\r
55 IoLib\r
56 BaseLib\r
57\r
58[Pcd.common]\r
e8a61b96 59 gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress ## SOMETIMES_CONSUMES\r