SecPeiDxeTimerLibCpu.inf 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ## @file
  2. # Instance of Timer Library only using CPU resources.
  3. #
  4. # Timer Library that only uses CPU resources to provide calibrated delays
  5. # on IA-32, x64, and IPF.
  6. # Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can use this TimerLib
  7. # in their initialization without any issues. They only have to be careful in
  8. # the implementation of runtime services and SMI handlers.
  9. # Because CPU Local APIC and ITC could be programmed by OS, it cannot be
  10. # used by SMM drivers and runtime drivers, ACPI timer is recommended for SMM
  11. # drivers and runtime drivers.
  12. #
  13. # Note that for IA-32 and x64, this library only supports xAPIC mode. If x2APIC
  14. # support is desired, the SecPeiDxeTimerLibUefiCpu library can be used.
  15. #
  16. # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
  17. #
  18. # SPDX-License-Identifier: BSD-2-Clause-Patent
  19. #
  20. #
  21. ##
  22. [Defines]
  23. INF_VERSION = 0x00010005
  24. BASE_NAME = SecPeiDxeTimerLibCpu
  25. MODULE_UNI_FILE = SecPeiDxeTimerLibCpu.uni
  26. FILE_GUID = b5a05743-9b71-489b-a0ed-a0eb3950d23b
  27. MODULE_TYPE = BASE
  28. VERSION_STRING = 1.0
  29. LIBRARY_CLASS = TimerLib
  30. #
  31. # VALID_ARCHITECTURES = IA32 X64
  32. #
  33. [Sources.Ia32, Sources.X64]
  34. X86TimerLib.c
  35. [Packages]
  36. MdePkg/MdePkg.dec
  37. [LibraryClasses]
  38. BaseLib
  39. [LibraryClasses.IA32, LibraryClasses.X64]
  40. PcdLib
  41. IoLib
  42. DebugLib
  43. [Pcd.IA32, Pcd.X64]
  44. gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## CONSUMES