a01ef7ed57b73496e8b089bed3868c611765c82c
[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
44 [Packages]
45 MdePkg/MdePkg.dec
46 MdeModulePkg/MdeModulePkg.dec
47
48 [LibraryClasses]
49 UefiDriverEntryPoint
50 BaseLib
51 BaseMemoryLib
52 PeCoffLib
53 PeCoffGetEntryPointLib
54 CacheMaintenanceLib
55 DebugLib
56 ReportStatusCodeLib
57 DevicePathLib
58 UefiLib
59 UefiBootServicesTableLib
60 MemoryAllocationLib
61 PcdLib
62 SmmCorePlatformHookLib
63 PerformanceLib
64 TimerLib
65 HobLib
66 SmmMemLib
67 DxeServicesLib
68
69 [Protocols]
70 gEfiDxeSmmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
71 gEfiSmmReadyToLockProtocolGuid ## PRODUCES
72 gEfiSmmCpuIo2ProtocolGuid ## CONSUMES
73 gEfiFirmwareVolume2ProtocolGuid ## CONSUMES
74 gEfiSmmEndOfDxeProtocolGuid ## PRODUCES
75 gEfiSecurityArchProtocolGuid ## SOMETIMES_CONSUMES
76 gEfiSecurity2ArchProtocolGuid ## SOMETIMES_CONSUMES
77 gEfiLoadedImageProtocolGuid ## PRODUCES
78 gEfiDevicePathProtocolGuid ## CONSUMES
79 gEdkiiSmmExitBootServicesProtocolGuid ## SOMETIMES_PRODUCES
80 gEdkiiSmmLegacyBootProtocolGuid ## SOMETIMES_PRODUCES
81 gEdkiiSmmReadyToBootProtocolGuid ## PRODUCES
82 gEdkiiSmmEndOfS3ResumeProtocolGuid ## SOMETIMES_PRODUCES
83
84 gEfiSmmSwDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
85 gEfiSmmSxDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
86 gEfiSmmPowerButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
87 gEfiSmmStandbyButtonDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
88 gEfiSmmPeriodicTimerDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
89 gEfiSmmGpiDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
90 gEfiSmmIoTrapDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
91 gEfiSmmUsbDispatch2ProtocolGuid ## SOMETIMES_CONSUMES
92
93 [Pcd]
94 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber ## SOMETIMES_CONSUMES
95 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES
96 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType ## CONSUMES
97 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask ## CONSUMES
98 gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileDriverPath ## CONSUMES
99 gEfiMdeModulePkgTokenSpaceGuid.PcdSmiHandlerProfilePropertyMask ## CONSUMES
100
101 [Guids]
102 gAprioriGuid ## SOMETIMES_CONSUMES ## File
103 gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister
104 gEfiEventLegacyBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
105 gEfiEventExitBootServicesGuid ## PRODUCES ## GUID # SmiHandlerRegister
106 gEfiEventReadyToBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
107 gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister
108 ## SOMETIMES_CONSUMES ## GUID # Locate protocol
109 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
110 gEdkiiMemoryProfileGuid
111 ## SOMETIMES_PRODUCES ## GUID # Install protocol
112 gEdkiiSmmMemoryProfileGuid
113 gEdkiiPiSmmMemoryAttributesTableGuid ## PRODUCES ## SystemTable
114 ## SOMETIMES_CONSUMES ## SystemTable
115 gLoadFixedAddressConfigurationTableGuid
116 ## SOMETIMES_PRODUCES ## GUID # Install protocol
117 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
118 gSmiHandlerProfileGuid
119
120 [UserExtensions.TianoCore."ExtraFiles"]
121 PiSmmCoreExtra.uni