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.
|
2018-06-27 15:11: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.
|
2011-10-24 06:37:33 +02:00
|
|
|
# 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.
|
|
|
|
#
|
2018-06-27 15:11:33 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
2019-04-04 01:06:00 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
|
|
|
#
|
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
|
|
|
|
|
|
|
|
|
|
|
#
|
2018-07-02 03:21:05 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
2007-06-22 08:57:39 +02:00
|
|
|
#
|
|
|
|
|
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
|
|
|
|
|
|
|
[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
|
|
|
|
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
|
|
|
|