5c04e851f94b858c4d969d69be969ae4e7e4ae40
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / PiSmmCore.inf
1 ## @file
2 # This module provide an SMM CIS compliant implementation of SMM Core.
3 #
4 # Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 ##
14
15 [Defines]
16 INF_VERSION = 0x00010005
17 BASE_NAME = PiSmmCore
18 MODULE_UNI_FILE = PiSmmCore.uni
19 FILE_GUID = E94F54CD-81EB-47ed-AEC3-856F5DC157A9
20 MODULE_TYPE = SMM_CORE
21 VERSION_STRING = 1.0
22 PI_SPECIFICATION_VERSION = 0x0001000A
23 ENTRY_POINT = SmmMain
24
25 # VALID_ARCHITECTURES = IA32 X64
26
27 [Sources]
28 PiSmmCore.c
29 PiSmmCore.h
30 PiSmmCorePrivateData.h
31 Page.c
32 Pool.c
33 Handle.c
34 Locate.c
35 Notify.c
36 Dependency.c
37 Dispatcher.c
38 Smi.c
39 InstallConfigurationTable.c
40 SmramProfileRecord.c
41 MemoryAttributesTable.c
42 SmiHandlerProfile.c
43 HeapGuard.c
44 HeapGuard.h
45
46 [Packages]
47 MdePkg/MdePkg.dec
48 MdeModulePkg/MdeModulePkg.dec
49
50 [LibraryClasses]
51 UefiDriverEntryPoint
52 BaseLib
53 BaseMemoryLib
54 PeCoffLib
55 PeCoffGetEntryPointLib
56 CacheMaintenanceLib
57 DebugLib
58 ReportStatusCodeLib
59 DevicePathLib
60 UefiLib
61 UefiBootServicesTableLib
62 MemoryAllocationLib
63 PcdLib
64 SmmCorePlatformHookLib
65 PerformanceLib
66 TimerLib
67 HobLib
68 SmmMemLib
69 DxeServicesLib
70
71 [Protocols]
72 gEfiDxeSmmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
73 gEfiSmmReadyToLockProtocolGuid ## PRODUCES
74 gEfiSmmCpuIo2ProtocolGuid ## CONSUMES
75 gEfiFirmwareVolume2ProtocolGuid ## CONSUMES
76 gEfiSmmEndOfDxeProtocolGuid ## PRODUCES
77 gEfiSecurityArchProtocolGuid ## SOMETIMES_CONSUMES
78 gEfiSecurity2ArchProtocolGuid ## SOMETIMES_CONSUMES
79 gEfiLoadedImageProtocolGuid ## PRODUCES
80 gEfiDevicePathProtocolGuid ## CONSUMES
81 gEdkiiSmmExitBootServicesProtocolGuid ## SOMETIMES_PRODUCES
82 gEdkiiSmmLegacyBootProtocolGuid ## SOMETIMES_PRODUCES
83 gEdkiiSmmReadyToBootProtocolGuid ## PRODUCES
84
85 gEfiSmmSwDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
86 gEfiSmmSxDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
87 gEfiSmmPowerButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
88 gEfiSmmStandbyButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
89 gEfiSmmPeriodicTimerDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
90 gEfiSmmGpiDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
91 gEfiSmmIoTrapDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
92 gEfiSmmUsbDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
93 gEfiSmmCpuProtocolGuid ## SOMETIMES_CONSUMES
94 gEdkiiSmmMemoryAttributeProtocolGuid ## CONSUMES
95 gEfiSmmSxDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
96
97 [Pcd]
98 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber ## SOMETIMES_CONSUMES
99 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES
100 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType ## CONSUMES
101 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask ## CONSUMES
102 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileDriverPath ## CONSUMES
103 gEfiMdeModulePkgTokenSpaceGuid.PcdSmiHandlerProfilePropertyMask ## CONSUMES
104 gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPageType ## CONSUMES
105 gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPoolType ## CONSUMES
106 gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask ## CONSUMES
107
108 [Guids]
109 gAprioriGuid ## SOMETIMES_CONSUMES ## File
110 gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister
111 gEfiEventLegacyBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
112 gEfiEventExitBootServicesGuid ## PRODUCES ## GUID # SmiHandlerRegister
113 gEfiEventReadyToBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
114 gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister
115 ## SOMETIMES_CONSUMES ## GUID # Locate protocol
116 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
117 gEdkiiMemoryProfileGuid
118 ## SOMETIMES_PRODUCES ## GUID # Install protocol
119 gEdkiiSmmMemoryProfileGuid
120 gEdkiiPiSmmMemoryAttributesTableGuid ## PRODUCES ## SystemTable
121 ## SOMETIMES_CONSUMES ## SystemTable
122 gLoadFixedAddressConfigurationTableGuid
123 ## SOMETIMES_PRODUCES ## GUID # Install protocol
124 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
125 gSmiHandlerProfileGuid
126 gEdkiiEndOfS3ResumeGuid ## SOMETIMES_PRODUCES ## GUID # Install protocol
127
128 [UserExtensions.TianoCore."ExtraFiles"]
129 PiSmmCoreExtra.uni