]>
Commit | Line | Data |
---|---|---|
1 | #/** @file\r | |
2 | # Timer Library which uses the Time Stamp Counter in the processor.\r | |
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 | |
11 | # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r | |
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 | |
19 | #**/\r | |
20 | \r | |
21 | [Defines]\r | |
22 | INF_VERSION = 0x00010005\r | |
23 | BASE_NAME = TscTimerLib\r | |
24 | FILE_GUID = 95ab030f-b4fd-4ee4-92a5-9e04e87634d9\r | |
25 | MODULE_TYPE = BASE\r | |
26 | VERSION_STRING = 1.0\r | |
27 | LIBRARY_CLASS = TimerLib\r | |
28 | \r | |
29 | CONSTRUCTOR = TscTimerLibConstructor\r | |
30 | \r | |
31 | \r | |
32 | #\r | |
33 | # VALID_ARCHITECTURES = IA32 X64\r | |
34 | #\r | |
35 | \r | |
36 | [Sources.common]\r | |
37 | TscTimerLib.c\r | |
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 | |
50 | \r | |
51 | [Pcd.common]\r | |
52 | gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress\r |