--- /dev/null
+## @file\r
+# A PEIM with the following responsibilities:\r
+#\r
+# - provide SMRAM access by producing PEI_SMM_ACCESS_PPI,\r
+# - verify & configure the Q35 TSEG in the entry point,\r
+# - set aside the SMM_S3_RESUME_STATE object at the bottom of TSEG, and expose\r
+# it via the gEfiAcpiVariableGuid GUIDed HOB.\r
+#\r
+# Copyright (C) 2013, 2015, Red Hat, Inc.\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
+# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = SmmAccessPei\r
+ FILE_GUID = 6C0E75B4-B0B9-44D1-8210-3377D7B4E066\r
+ MODULE_TYPE = PEIM\r
+ VERSION_STRING = 1.0\r
+ ENTRY_POINT = SmmAccessPeiEntryPoint\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64\r
+#\r
+\r
+[Sources]\r
+ SmmAccessPei.c\r
+ SmramInternal.c\r
+ SmramInternal.h\r
+\r
+[Packages]\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ MdePkg/MdePkg.dec\r
+ OvmfPkg/OvmfPkg.dec\r
+\r
+[Guids]\r
+ gEfiAcpiVariableGuid\r
+\r
+[LibraryClasses]\r
+ BaseLib\r
+ BaseMemoryLib\r
+ DebugLib\r
+ HobLib\r
+ IoLib\r
+ PcdLib\r
+ PciLib\r
+ PeiServicesLib\r
+ PeimEntryPoint\r
+\r
+[FeaturePcd]\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r
+\r
+[FixedPcd]\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes\r
+\r
+[Ppis]\r
+ gPeiSmmAccessPpiGuid ## PRODUCES\r
+\r
+[Depex]\r
+ TRUE\r