]>
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: Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r | |
7 | # used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM\r | |
8 | # drivers and runtime drivers.\r | |
9 | #\r | |
10 | # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r | |
11 | #\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 | \r | |
22 | [Defines]\r | |
23 | INF_VERSION = 0x00010005\r | |
24 | BASE_NAME = SecPeiDxeTimerLibCpu\r | |
25 | FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b\r | |
26 | MODULE_TYPE = BASE\r | |
27 | VERSION_STRING = 1.0\r | |
28 | LIBRARY_CLASS = TimerLib|BASE DXE_CORE DXE_DRIVER DXE_SAL_DRIVER PEIM PEI_CORE SEC UEFI_APPLICATION UEFI_DRIVER\r | |
29 | \r | |
30 | \r | |
31 | #\r | |
32 | # VALID_ARCHITECTURES = IA32 X64 IPF\r | |
33 | #\r | |
34 | \r | |
35 | [Sources.Ia32, Sources.X64]\r | |
36 | X86TimerLib.c\r | |
37 | \r | |
38 | [Sources.IPF]\r | |
39 | IpfTimerLib.c\r | |
40 | \r | |
41 | \r | |
42 | [Packages]\r | |
43 | MdePkg/MdePkg.dec\r | |
44 | \r | |
45 | \r | |
46 | [LibraryClasses]\r | |
47 | BaseLib\r | |
48 | \r | |
49 | [LibraryClasses.IA32, LibraryClasses.X64]\r | |
50 | PcdLib\r | |
51 | IoLib\r | |
52 | DebugLib\r | |
53 | \r | |
54 | [LibraryClasses.IPF]\r | |
55 | PalLib\r | |
56 | \r | |
57 | \r | |
58 | [Pcd.IA32, Pcd.X64]\r | |
59 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES\r | |
60 | \r |