]>
Commit | Line | Data |
---|---|---|
3a63a425 | 1 | ## @file\r |
d50f6f8b | 2 | # Dxe 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 | 27 | BASE_NAME = DxeTscTimerLib\r |
c06ad33e | 28 | FILE_GUID = 95ab030f-b4fd-4ee4-92a5-9e04e87634d9\r |
d50f6f8b | 29 | MODULE_TYPE = DXE_DRIVER\r |
c06ad33e | 30 | VERSION_STRING = 1.0\r |
d50f6f8b | 31 | LIBRARY_CLASS = TimerLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER SMM_CORE\r |
c06ad33e | 32 | \r |
d50f6f8b | 33 | CONSTRUCTOR = DxeTscTimerLibConstructor\r |
c06ad33e | 34 | \r |
35 | \r | |
36 | #\r | |
37 | # VALID_ARCHITECTURES = IA32 X64\r | |
38 | #\r | |
39 | \r | |
40 | [Sources.common]\r | |
034307a7 | 41 | TscTimerLibShare.c\r |
d50f6f8b | 42 | DxeTscTimerLib.c\r |
77c9e747 | 43 | TscTimerLibInternal.h\r |
c06ad33e | 44 | \r |
45 | \r | |
46 | [Packages]\r | |
47 | MdePkg/MdePkg.dec\r | |
48 | PerformancePkg/PerformancePkg.dec\r | |
49 | \r | |
50 | \r | |
51 | [LibraryClasses]\r | |
a176509a | 52 | UefiBootServicesTableLib\r |
c06ad33e | 53 | PcdLib\r |
54 | PciLib\r | |
55 | IoLib\r | |
56 | BaseLib\r | |
a176509a | 57 | UefiLib\r |
4ae5165c | 58 | DebugLib\r |
d50f6f8b SZ |
59 | \r |
60 | [Guids]\r | |
e8a61b96 | 61 | gEfiTscFrequencyGuid ## CONSUMES ## SystemTable\r |
c06ad33e | 62 | \r |
63 | [Pcd.common]\r | |
e8a61b96 | 64 | gPerformancePkgTokenSpaceGuid.PcdPerfPkgAcpiIoPortBaseAddress ## SOMETIMES_CONSUMES\r |