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# This program and the accompanying materials are licensed and made available 12# under the terms and conditions of the BSD License which accompanies this 13# distribution. The full text of the license may be found at 14# http://opensource.org/licenses/bsd-license.php 15# 16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT 17# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 18# 19## 20 21[Defines] 22 INF_VERSION = 0x00010005 23 BASE_NAME = SmmAccessPei 24 FILE_GUID = 6C0E75B4-B0B9-44D1-8210-3377D7B4E066 25 MODULE_TYPE = PEIM 26 VERSION_STRING = 1.0 27 ENTRY_POINT = SmmAccessPeiEntryPoint 28 29# 30# The following information is for reference only and not required by the build tools. 31# 32# VALID_ARCHITECTURES = IA32 X64 33# 34 35[Sources] 36 SmmAccessPei.c 37 SmramInternal.c 38 SmramInternal.h 39 40[Packages] 41 MdeModulePkg/MdeModulePkg.dec 42 MdePkg/MdePkg.dec 43 OvmfPkg/OvmfPkg.dec 44 45[Guids] 46 gEfiAcpiVariableGuid 47 48[LibraryClasses] 49 BaseLib 50 BaseMemoryLib 51 DebugLib 52 HobLib 53 IoLib 54 PcdLib 55 PciLib 56 PeiServicesLib 57 PeimEntryPoint 58 59[FeaturePcd] 60 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire 61 62[FixedPcd] 63 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes 64 65[Ppis] 66 gPeiSmmAccessPpiGuid ## PRODUCES 67 68[Depex] 69 TRUE 70