]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
Update Base type SecPeiDxeTimerLibCpu to support all module type.
[mirror_edk2.git] / MdePkg / Library / SecPeiDxeTimerLibCpu / SecPeiDxeTimerLibCpu.inf
CommitLineData
6bfbb5f0 1## @file\r
85ea851e 2# Instance of Timer Library only using CPU resources.\r
e386b444 3#\r
85ea851e 4# Timer Library that only uses CPU resources to provide calibrated delays\r
5# on IA-32, x64, and IPF.\r
32fa3543
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
9# Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r
85ea851e 10# used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM\r
11# drivers and runtime drivers.\r
12#\r
2057d8c8 13# Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC\r
14# support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.\r
15#\r
32fa3543 16# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>\r
e386b444 17#\r
19388d29 18# This program and the accompanying materials\r
e386b444 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
2fc59a00 21# http://opensource.org/licenses/bsd-license.php.\r
e386b444 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
6bfbb5f0 26##\r
e386b444 27\r
e386b444 28[Defines]\r
29 INF_VERSION = 0x00010005\r
30 BASE_NAME = SecPeiDxeTimerLibCpu\r
31 FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b\r
32 MODULE_TYPE = BASE\r
33 VERSION_STRING = 1.0\r
32fa3543 34 LIBRARY_CLASS = TimerLib\r
e386b444 35\r
36\r
e386b444 37#\r
38# VALID_ARCHITECTURES = IA32 X64 IPF\r
39#\r
40\r
078bee4e 41[Sources.Ia32, Sources.X64]\r
7687d3a8 42 X86TimerLib.c\r
e386b444 43\r
44[Sources.IPF]\r
45 IpfTimerLib.c\r
46\r
47\r
e386b444 48[Packages]\r
49 MdePkg/MdePkg.dec\r
50\r
51\r
e386b444 52[LibraryClasses]\r
53 BaseLib\r
54\r
078bee4e 55[LibraryClasses.IA32, LibraryClasses.X64]\r
e386b444 56 PcdLib\r
57 IoLib\r
1553d073 58 DebugLib\r
e386b444 59\r
60[LibraryClasses.IPF]\r
dc49f4ed 61 PalLib\r
e386b444 62\r
63\r
078bee4e 64[Pcd.IA32, Pcd.X64]\r
0f46efec 65 gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES\r
e386b444 66\r