2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2008-10-28 10:45:52 +01:00
|
|
|
# Instance of Timer Library only using CPU resources.
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2008-10-28 10:45:52 +01:00
|
|
|
# Timer Library that only uses CPU resources to provide calibrated delays
|
|
|
|
# on IA-32, x64, and IPF.
|
2011-10-24 06:37:33 +02:00
|
|
|
# Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib
|
|
|
|
# in their initialization without any issues. They only have to be careful in
|
|
|
|
# the implementation of runtime services and SMI handlers.
|
|
|
|
# Because CPU Local APIC and ITC could be programmed by OS, it cannot be
|
2008-10-28 10:45:52 +01:00
|
|
|
# used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM
|
|
|
|
# drivers and runtime drivers.
|
|
|
|
#
|
2010-11-29 04:30:38 +01:00
|
|
|
# Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC
|
|
|
|
# support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.
|
|
|
|
#
|
2014-08-27 11:33:09 +02:00
|
|
|
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2010-04-23 18:37:43 +02:00
|
|
|
# This program and the accompanying materials
|
2007-06-22 08:57:39 +02:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2010-06-25 23:56:02 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
2007-06-22 08:57:39 +02:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = SecPeiDxeTimerLibCpu
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = SecPeiDxeTimerLibCpu.uni
|
2007-06-22 08:57:39 +02:00
|
|
|
FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
2011-10-24 06:37:33 +02:00
|
|
|
LIBRARY_CLASS = TimerLib
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF
|
|
|
|
#
|
|
|
|
|
2008-10-28 08:17:17 +01:00
|
|
|
[Sources.Ia32, Sources.X64]
|
2008-07-11 09:06:56 +02:00
|
|
|
X86TimerLib.c
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
[Sources.IPF]
|
|
|
|
IpfTimerLib.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
|
2008-10-28 08:17:17 +01:00
|
|
|
[LibraryClasses.IA32, LibraryClasses.X64]
|
2007-06-22 08:57:39 +02:00
|
|
|
PcdLib
|
|
|
|
IoLib
|
2009-01-14 04:05:45 +01:00
|
|
|
DebugLib
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
[LibraryClasses.IPF]
|
2008-11-13 10:02:55 +01:00
|
|
|
PalLib
|
2007-06-22 08:57:39 +02:00
|
|
|
|
|
|
|
|
2008-10-28 08:17:17 +01:00
|
|
|
[Pcd.IA32, Pcd.X64]
|
2009-01-09 08:48:37 +01:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES
|
2007-06-22 08:57:39 +02:00
|
|
|
|