]>
Commit | Line | Data |
---|---|---|
2057d8c8 | 1 | ## @file\r |
2 | # Instance of Timer Library only using CPU resources.\r | |
3 | #\r | |
4 | # Timer Library that only uses CPU resources to provide calibrated delays\r | |
5 | # on IA-32, x64, and IPF.\r | |
7367cc6c LG |
6 | # Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib\r |
7 | # in their initialization without any issues. They only have to be careful in\r | |
8 | # the implementation of runtime services and SMI handlers.\r | |
8d3dd314 | 9 | # Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r |
2057d8c8 | 10 | # used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM\r |
11 | # drivers and runtime drivers.\r | |
12 | #\r | |
13 | # This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in\r | |
14 | # that it uses the local APIC library so that it supports x2APIC mode.\r | |
15 | #\r | |
7367cc6c | 16 | # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r |
2057d8c8 | 17 | #\r |
18 | # This program and the accompanying materials\r | |
19 | # are licensed and made available under the terms and conditions of the BSD License\r | |
20 | # which accompanies this distribution. The full text of the license may be found at\r | |
21 | # http://opensource.org/licenses/bsd-license.php.\r | |
22 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
23 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
24 | #\r | |
25 | #\r | |
26 | ##\r | |
27 | \r | |
28 | [Defines]\r | |
29 | INF_VERSION = 0x00010005\r | |
30 | BASE_NAME = SecPeiDxeTimerLibUefiCpu\r | |
e48e0742 | 31 | MODULE_UNI_FILE = SecPeiDxeTimerLibUefiCpu.uni\r |
2057d8c8 | 32 | FILE_GUID = 4FFF2014-2086-4ee6-9B58-886D1967861C\r |
33 | MODULE_TYPE = BASE\r | |
34 | VERSION_STRING = 1.0\r | |
8d3dd314 | 35 | LIBRARY_CLASS = TimerLib\r |
2057d8c8 | 36 | \r |
37 | \r | |
38 | #\r | |
f6b0258d | 39 | # VALID_ARCHITECTURES = IA32 X64\r |
2057d8c8 | 40 | #\r |
41 | \r | |
667abfaf | 42 | [Sources]\r |
2057d8c8 | 43 | X86TimerLib.c\r |
44 | \r | |
2057d8c8 | 45 | [Packages]\r |
46 | MdePkg/MdePkg.dec\r | |
47 | UefiCpuPkg/UefiCpuPkg.dec\r | |
48 | \r | |
49 | [LibraryClasses]\r | |
50 | BaseLib\r | |
51 | \r | |
667abfaf | 52 | [LibraryClasses]\r |
2057d8c8 | 53 | PcdLib\r |
54 | DebugLib\r | |
55 | LocalApicLib\r | |
56 | \r | |
667abfaf | 57 | [Pcd]\r |
c4bac158 | 58 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## SOMETIMES_CONSUMES\r |
2057d8c8 | 59 | \r |