SmmControl2Dxe.inf 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 X58
  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. # Copyright (C) 2009 - 2019, Intel Corporation. All rights reserved.<BR>
  16. #
  17. # SPDX-License-Identifier: BSD-2-Clause-Patent
  18. #
  19. ##
  20. [Defines]
  21. INF_VERSION = 0x00010005
  22. BASE_NAME = SmmControl2Dxe
  23. FILE_GUID = 1206F7CA-A475-4624-A83E-E6FC9BB38E49
  24. MODULE_TYPE = DXE_RUNTIME_DRIVER
  25. VERSION_STRING = 1.0
  26. PI_SPECIFICATION_VERSION = 0x00010400
  27. ENTRY_POINT = SmmControl2DxeEntryPoint
  28. #
  29. # The following information is for reference only and not required by the build tools.
  30. #
  31. # VALID_ARCHITECTURES = IA32 X64
  32. #
  33. [Sources]
  34. SmmControl2Dxe.c
  35. [Packages]
  36. MdePkg/MdePkg.dec
  37. SimicsX58SktPkg/SktPkg.dec
  38. SimicsIch10Pkg/Ich10Pkg.dec
  39. [LibraryClasses]
  40. BaseLib
  41. DebugLib
  42. IoLib
  43. PcdLib
  44. PciLib
  45. UefiBootServicesTableLib
  46. UefiDriverEntryPoint
  47. [Protocols]
  48. gEfiS3SaveStateProtocolGuid ## SOMETIMES_CONSUMES
  49. gEfiSmmControl2ProtocolGuid ## PRODUCES
  50. [FeaturePcd]
  51. gSimicsX58PkgTokenSpaceGuid.PcdSmmSmramRequire
  52. [Depex]
  53. TRUE