SmmControl2Dxe.inf 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. ## @file
  2. # A DXE_RUNTIME_DRIVER providing synchronous SMI activations via the
  3. # EFI_SMM_CONTROL2_PROTOCOL.
  4. #
  5. # We expect the PEI phase to have covered the following:
  6. # - ensure that the underlying QEMU machine type be Q35
  7. # (responsible: OvmfPkg/SmmAccess/SmmAccessPei.inf)
  8. # - ensure that the ACPI PM IO space be configured
  9. # (responsible: OvmfPkg/PlatformPei/PlatformPei.inf)
  10. #
  11. # Our own entry point is responsible for confirming the SMI feature and for
  12. # configuring it.
  13. #
  14. # Copyright (C) 2013, 2015, Red Hat, Inc.
  15. #
  16. # SPDX-License-Identifier: BSD-2-Clause-Patent
  17. #
  18. ##
  19. [Defines]
  20. INF_VERSION = 0x00010005
  21. BASE_NAME = SmmControl2Dxe
  22. FILE_GUID = 1206F7CA-A475-4624-A83E-E6FC9BB38E49
  23. MODULE_TYPE = DXE_RUNTIME_DRIVER
  24. VERSION_STRING = 1.0
  25. PI_SPECIFICATION_VERSION = 0x00010400
  26. ENTRY_POINT = SmmControl2DxeEntryPoint
  27. #
  28. # The following information is for reference only and not required by the build tools.
  29. #
  30. # VALID_ARCHITECTURES = IA32 X64
  31. #
  32. [Sources]
  33. SmiFeatures.h
  34. SmiFeatures.c
  35. SmmControl2Dxe.c
  36. [Packages]
  37. MdePkg/MdePkg.dec
  38. MdeModulePkg/MdeModulePkg.dec
  39. OvmfPkg/OvmfPkg.dec
  40. UefiCpuPkg/UefiCpuPkg.dec
  41. [LibraryClasses]
  42. BaseLib
  43. DebugLib
  44. IoLib
  45. MemEncryptSevLib
  46. MemoryAllocationLib
  47. PcdLib
  48. PciLib
  49. QemuFwCfgLib
  50. QemuFwCfgS3Lib
  51. UefiBootServicesTableLib
  52. UefiDriverEntryPoint
  53. [Protocols]
  54. gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES
  55. gEfiSmmControl2ProtocolGuid ## PRODUCES
  56. [Pcd]
  57. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout ## SOMETIMES_PRODUCES
  58. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode ## SOMETIMES_PRODUCES
  59. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable
  60. [FeaturePcd]
  61. gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
  62. [Depex]
  63. TRUE