SmmAccessPei.inf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. ## @file
  2. # A PEIM with the following responsibilities:
  3. #
  4. # - provide SMRAM access by producing PEI_SMM_ACCESS_PPI,
  5. # - verify & configure the Q35 TSEG in the entry point,
  6. # - set aside the SMM_S3_RESUME_STATE object at the bottom of TSEG, and expose
  7. # it via the gEfiAcpiVariableGuid GUIDed HOB.
  8. #
  9. # Copyright (C) 2013, 2015, Red Hat, Inc.
  10. #
  11. # SPDX-License-Identifier: BSD-2-Clause-Patent
  12. #
  13. ##
  14. [Defines]
  15. INF_VERSION = 0x00010005
  16. BASE_NAME = SmmAccessPei
  17. FILE_GUID = 6C0E75B4-B0B9-44D1-8210-3377D7B4E066
  18. MODULE_TYPE = PEIM
  19. VERSION_STRING = 1.0
  20. ENTRY_POINT = SmmAccessPeiEntryPoint
  21. #
  22. # The following information is for reference only and not required by the build tools.
  23. #
  24. # VALID_ARCHITECTURES = IA32 X64
  25. #
  26. [Sources]
  27. SmmAccessPei.c
  28. SmramInternal.c
  29. SmramInternal.h
  30. [Packages]
  31. MdeModulePkg/MdeModulePkg.dec
  32. MdePkg/MdePkg.dec
  33. OvmfPkg/OvmfPkg.dec
  34. [Guids]
  35. gEfiAcpiVariableGuid
  36. [LibraryClasses]
  37. BaseLib
  38. BaseMemoryLib
  39. DebugLib
  40. HobLib
  41. IoLib
  42. PcdLib
  43. PciLib
  44. PeiServicesLib
  45. PeimEntryPoint
  46. [FeaturePcd]
  47. gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
  48. [Pcd]
  49. gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase
  50. gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes
  51. [Ppis]
  52. gPeiSmmAccessPpiGuid ## PRODUCES
  53. [Depex]
  54. gEfiPeiMemoryDiscoveredPpiGuid