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