]>
Commit | Line | Data |
---|---|---|
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 | |
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 | |
9 | # Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r | |
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 | |
16 | # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
17 | #\r | |
18 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
19 | #\r | |
20 | #\r | |
21 | ##\r | |
22 | \r | |
23 | [Defines]\r | |
24 | INF_VERSION = 0x00010005\r | |
25 | BASE_NAME = SecPeiDxeTimerLibUefiCpu\r | |
26 | MODULE_UNI_FILE = SecPeiDxeTimerLibUefiCpu.uni\r | |
27 | FILE_GUID = 4FFF2014-2086-4ee6-9B58-886D1967861C\r | |
28 | MODULE_TYPE = BASE\r | |
29 | VERSION_STRING = 1.0\r | |
30 | LIBRARY_CLASS = TimerLib\r | |
31 | \r | |
32 | \r | |
33 | #\r | |
34 | # VALID_ARCHITECTURES = IA32 X64\r | |
35 | #\r | |
36 | \r | |
37 | [Sources]\r | |
38 | X86TimerLib.c\r | |
39 | \r | |
40 | [Packages]\r | |
41 | MdePkg/MdePkg.dec\r | |
42 | UefiCpuPkg/UefiCpuPkg.dec\r | |
43 | \r | |
44 | [LibraryClasses]\r | |
45 | BaseLib\r | |
46 | \r | |
47 | [LibraryClasses]\r | |
48 | PcdLib\r | |
49 | DebugLib\r | |
50 | LocalApicLib\r | |
51 | \r | |
52 | [Pcd]\r | |
53 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## SOMETIMES_CONSUMES\r | |
54 | \r |