]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / SecPeiDxeTimerLibCpu / SecPeiDxeTimerLibCpu.inf
index 67a3c2cff8bab48b4e88ef70617072a4b0577363..8da1d3854b23eeb131d40c92d3bc018ce2707d28 100644 (file)
@@ -1,44 +1,42 @@
-#/** @file\r
+## @file\r
 # Instance of Timer Library only using CPU resources.\r
 #\r
 # Timer Library that only uses CPU resources to provide calibrated delays\r
 #  on IA-32, x64, and IPF.\r
-# Note: Because CPU Local APIC and ITC could be programmed by OS, it cannot be\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
-# Copyright (c) 2007 - 2008, Intel Corporation.\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
-#  All rights reserved. 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
-#  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
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\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
+  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
   IoLib\r
   DebugLib\r
 \r
-[LibraryClasses.IPF]\r
-  PalLib\r
-\r
-\r
 [Pcd.IA32, Pcd.X64]\r
   gEfiMdePkgTokenSpaceGuid.PcdFSBClock  ## CONSUMES\r
 \r