]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # S3 Resume Module installs EFI_PEI_S3_RESUME2_PPI.\r | |
3 | #\r | |
4 | # This module works with StandAloneBootScriptExecutor to S3 resume to OS.\r | |
5 | # This module will excute the boot script saved during last boot and after that,\r | |
6 | # control is passed to OS waking up handler.\r | |
7 | #\r | |
8 | # Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r | |
9 | # Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r | |
10 | #\r | |
11 | # This program and the accompanying materials are\r | |
12 | # licensed and made available under the terms and conditions of the BSD License\r | |
13 | # which accompanies this 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,\r | |
17 | # WITHOUT 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 = S3Resume2Pei\r | |
24 | MODULE_UNI_FILE = S3Resume2Pei.uni\r | |
25 | FILE_GUID = 89E549B0-7CFE-449d-9BA3-10D8B2312D71\r | |
26 | MODULE_TYPE = PEIM\r | |
27 | VERSION_STRING = 1.0\r | |
28 | ENTRY_POINT = PeimS3ResumeEntryPoint\r | |
29 | \r | |
30 | #\r | |
31 | # The following information is for reference only and not required by the build tools.\r | |
32 | #\r | |
33 | # VALID_ARCHITECTURES = IA32 X64\r | |
34 | #\r | |
35 | \r | |
36 | [Sources]\r | |
37 | S3Resume.c\r | |
38 | \r | |
39 | [Sources.IA32]\r | |
40 | Ia32/AsmFuncs.asm\r | |
41 | Ia32/AsmFuncs.nasm\r | |
42 | Ia32/AsmFuncs.S\r | |
43 | \r | |
44 | [Sources.X64]\r | |
45 | X64/AsmFuncs.asm\r | |
46 | X64/AsmFuncs.nasm\r | |
47 | X64/AsmFuncs.S\r | |
48 | \r | |
49 | [Packages]\r | |
50 | MdePkg/MdePkg.dec\r | |
51 | MdeModulePkg/MdeModulePkg.dec\r | |
52 | UefiCpuPkg/UefiCpuPkg.dec\r | |
53 | \r | |
54 | [LibraryClasses]\r | |
55 | PeiServicesTablePointerLib\r | |
56 | PerformanceLib\r | |
57 | HobLib\r | |
58 | PeiServicesLib\r | |
59 | PeimEntryPoint\r | |
60 | TimerLib\r | |
61 | BaseLib\r | |
62 | DebugLib\r | |
63 | PcdLib\r | |
64 | IoLib\r | |
65 | BaseMemoryLib\r | |
66 | MemoryAllocationLib\r | |
67 | DebugAgentLib\r | |
68 | LocalApicLib\r | |
69 | ReportStatusCodeLib\r | |
70 | LockBoxLib\r | |
71 | PrintLib\r | |
72 | \r | |
73 | [Guids]\r | |
74 | gEfiBootScriptExecutorVariableGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r | |
75 | gEfiBootScriptExecutorContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r | |
76 | gPerformanceProtocolGuid ## SOMETIMES_CONSUMES ## Variable:L"PerfDataMemAddr"\r | |
77 | ## SOMETIMES_CONSUMES ## HOB\r | |
78 | ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r | |
79 | gEfiAcpiVariableGuid\r | |
80 | gEfiAcpiS3ContextGuid ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox\r | |
81 | gEdkiiEndOfS3ResumeGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Used to do smm communication\r | |
82 | \r | |
83 | [Ppis]\r | |
84 | gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES\r | |
85 | gEfiPeiS3Resume2PpiGuid ## PRODUCES\r | |
86 | gPeiSmmAccessPpiGuid ## SOMETIMES_CONSUMES\r | |
87 | gPeiPostScriptTablePpiGuid ## SOMETIMES_PRODUCES\r | |
88 | gEfiEndOfPeiSignalPpiGuid ## SOMETIMES_PRODUCES\r | |
89 | gEfiPeiSmmCommunicationPpiGuid ## SOMETIMES_CONSUMES\r | |
90 | \r | |
91 | [FeaturePcd]\r | |
92 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode ## CONSUMES\r | |
93 | gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES\r | |
94 | \r | |
95 | [Pcd]\r | |
96 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable ## SOMETIMES_CONSUMES\r | |
97 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask ## CONSUMES\r | |
98 | \r | |
99 | [Depex]\r | |
100 | TRUE\r | |
101 | \r | |
102 | [UserExtensions.TianoCore."ExtraFiles"]\r | |
103 | S3Resume2PeiExtra.uni\r |