]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # A PEIM with the following responsibilities:\r | |
3 | #\r | |
4 | # - provide SMRAM access by producing PEI_SMM_ACCESS_PPI,\r | |
5 | # - verify & configure the Q35 TSEG in the entry point,\r | |
6 | # - set aside the SMM_S3_RESUME_STATE object at the bottom of TSEG, and expose\r | |
7 | # it via the gEfiAcpiVariableGuid GUIDed HOB.\r | |
8 | #\r | |
9 | # Copyright (C) 2013, 2015, Red Hat, Inc.\r | |
10 | #\r | |
11 | # This program and the accompanying materials are licensed and made available\r | |
12 | # under the terms and conditions of the BSD License which accompanies this\r | |
13 | # distribution. The full text of the license may be found at\r | |
14 | # http://opensource.org/licenses/bsd-license.php\r | |
15 | #\r | |
16 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
17 | # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
18 | #\r | |
19 | ##\r | |
20 | \r | |
21 | [Defines]\r | |
22 | INF_VERSION = 0x00010005\r | |
23 | BASE_NAME = SmmAccessPei\r | |
24 | FILE_GUID = 6C0E75B4-B0B9-44D1-8210-3377D7B4E066\r | |
25 | MODULE_TYPE = PEIM\r | |
26 | VERSION_STRING = 1.0\r | |
27 | ENTRY_POINT = SmmAccessPeiEntryPoint\r | |
28 | \r | |
29 | #\r | |
30 | # The following information is for reference only and not required by the build tools.\r | |
31 | #\r | |
32 | # VALID_ARCHITECTURES = IA32 X64\r | |
33 | #\r | |
34 | \r | |
35 | [Sources]\r | |
36 | SmmAccessPei.c\r | |
37 | SmramInternal.c\r | |
38 | SmramInternal.h\r | |
39 | \r | |
40 | [Packages]\r | |
41 | MdeModulePkg/MdeModulePkg.dec\r | |
42 | MdePkg/MdePkg.dec\r | |
43 | OvmfPkg/OvmfPkg.dec\r | |
44 | \r | |
45 | [Guids]\r | |
46 | gEfiAcpiVariableGuid\r | |
47 | \r | |
48 | [LibraryClasses]\r | |
49 | BaseLib\r | |
50 | BaseMemoryLib\r | |
51 | DebugLib\r | |
52 | HobLib\r | |
53 | IoLib\r | |
54 | PcdLib\r | |
55 | PciLib\r | |
56 | PeiServicesLib\r | |
57 | PeimEntryPoint\r | |
58 | \r | |
59 | [FeaturePcd]\r | |
60 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r | |
61 | \r | |
62 | [FixedPcd]\r | |
63 | gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes\r | |
64 | \r | |
65 | [Ppis]\r | |
66 | gPeiSmmAccessPpiGuid ## PRODUCES\r | |
67 | \r | |
68 | [Depex]\r | |
69 | TRUE\r |