-#/** @file\r
-# Timer Library implementation for Boot Timer moudles that require timer services.\r
+## @file\r
+# Instance of Timer Library only using CPU resources.\r
#\r
-# Timer Library that uses CPU resources to provide calibrated\r
-# delays on IA-32 and x64, and uses ITC on IPF. Note: Because CpuLocalApci\r
-# and ITC could be programmed by OS, it cannot be used by SMM drivers\r
-# and runtime drivers, ACPI timer is recommended for SMM drivers and RUNTIME\r
-# drivers.\r
-# Copyright (c) 2007, Intel Corporation.\r
+# Timer Library that only uses CPU resources to provide calibrated delays\r
+# on IA-32, x64, and IPF.\r
+# Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib\r
+# in their initialization without any issues. They only have to be careful in\r
+# the implementation of runtime services and SMI handlers.\r
+# Because CPU Local APIC and ITC could be programmed by OS, it cannot be\r
+# used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM\r
+# drivers and runtime drivers.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC\r
+# support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.\r
+#\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# http://opensource.org/licenses/bsd-license.php.\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = SecPeiDxeTimerLibCpu\r
+ MODULE_UNI_FILE = SecPeiDxeTimerLibCpu.uni\r
FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = TimerLib|BASE DXE_CORE DXE_DRIVER DXE_SAL_DRIVER PEIM PEI_CORE SEC UEFI_APPLICATION UEFI_DRIVER\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
+ LIBRARY_CLASS = TimerLib\r
\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF\r
+# VALID_ARCHITECTURES = IA32 X64\r
#\r
\r
[Sources.Ia32, Sources.X64]\r
X86TimerLib.c\r
\r
-[Sources.IPF]\r
- IpfTimerLib.c\r
-\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r
[LibraryClasses.IA32, LibraryClasses.X64]\r
PcdLib\r
IoLib\r
-\r
-[LibraryClasses.IPF]\r
- PalCallLib\r
-\r
+ DebugLib\r
\r
[Pcd.IA32, Pcd.X64]\r
- gEfiMdePkgTokenSpaceGuid.PcdFSBClock\r
+ gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES\r
\r