]> git.proxmox.com Git - mirror_edk2.git/blame - UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in...
[mirror_edk2.git] / UefiCpuPkg / Library / SecPeiDxeTimerLibUefiCpu / SecPeiDxeTimerLibUefiCpu.inf
CommitLineData
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
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# This library differs with the SecPeiDxeTimerLibCpu library in the MdePkg in\r
11# that it uses the local APIC library so that it supports x2APIC mode.\r
12#\r
13# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
14#\r
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
22#\r
23##\r
24\r
25[Defines]\r
26 INF_VERSION = 0x00010005\r
27 BASE_NAME = SecPeiDxeTimerLibUefiCpu\r
28 FILE_GUID = 4FFF2014-2086-4ee6-9B58-886D1967861C\r
29 MODULE_TYPE = BASE\r
30 VERSION_STRING = 1.0\r
31 LIBRARY_CLASS = TimerLib|BASE DXE_CORE DXE_DRIVER DXE_SAL_DRIVER PEIM PEI_CORE SEC UEFI_APPLICATION UEFI_DRIVER\r
32\r
33\r
34#\r
35# VALID_ARCHITECTURES = IA32 X64 IPF\r
36#\r
37\r
38[Sources.Ia32, Sources.X64]\r
39 X86TimerLib.c\r
40\r
41[Sources.IPF]\r
42 IpfTimerLib.c\r
43\r
44\r
45[Packages]\r
46 MdePkg/MdePkg.dec\r
47 UefiCpuPkg/UefiCpuPkg.dec\r
48\r
49[LibraryClasses]\r
50 BaseLib\r
51\r
52[LibraryClasses.IA32, LibraryClasses.X64]\r
53 PcdLib\r
54 DebugLib\r
55 LocalApicLib\r
56\r
57[LibraryClasses.IPF]\r
58 PalLib\r
59\r
60\r
61[Pcd.IA32, Pcd.X64]\r
62 gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES\r
63\r