]>
Commit | Line | Data |
---|---|---|
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 |
7 | # A version of the Timer Library using the processor's TSC.\r | |
8 | # The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC.\r | |
9 | # The invariant TSC runs at a constant rate in all ACPI P-, C-. and T-states.\r | |
10 | # This is the architectural behavior moving forward.\r | |
11 | # TSC reads are much more efficient and do not incur the overhead associated with a ring transition or\r | |
12 | # access to a platform resource.\r | |
13 | #\r | |
d50f6f8b | 14 | # Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r |
c06ad33e | 15 | # This program and the accompanying materials\r |
16 | # are licensed and made available under the terms and conditions of the BSD License\r | |
17 | # which accompanies this distribution. The full text of the license may be found at\r | |
18 | # http://opensource.org/licenses/bsd-license.php\r | |
19 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
20 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
21 | #\r | |
3a63a425 | 22 | ##\r |
c06ad33e | 23 | \r |
24 | [Defines]\r | |
25 | INF_VERSION = 0x00010005\r | |
034307a7 SZ |
26 | BASE_NAME = BaseTscTimerLib\r |
27 | FILE_GUID = D29338B9-50FE-4e4f-B7D4-A150A2C1F4FB\r | |
28 | MODULE_TYPE = BASE\r | |
c06ad33e | 29 | VERSION_STRING = 1.0\r |
034307a7 | 30 | LIBRARY_CLASS = TimerLib\r |
c06ad33e | 31 | \r |
32 | \r | |
33 | #\r | |
34 | # VALID_ARCHITECTURES = IA32 X64\r | |
35 | #\r | |
36 | \r | |
37 | [Sources.common]\r | |
034307a7 SZ |
38 | TscTimerLibShare.c\r |
39 | BaseTscTimerLib.c\r | |
77c9e747 | 40 | TscTimerLibInternal.h\r |
c06ad33e | 41 | \r |
42 | \r | |
43 | [Packages]\r | |
44 | MdePkg/MdePkg.dec\r | |
45 | PerformancePkg/PerformancePkg.dec\r | |
46 | \r | |
47 | \r | |
48 | [LibraryClasses]\r | |
49 | PcdLib\r | |
50 | PciLib\r | |
51 | IoLib\r | |
52 | BaseLib\r | |
53 | \r | |
54 | [Pcd.common]\r | |
55 | gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress\r |