2010-02-26 00:41:19 +01:00
|
|
|
## @file
|
|
|
|
# This module provide an SMM CIS compliant implementation of SMM Core.
|
|
|
|
#
|
2016-06-18 04:14:40 +02:00
|
|
|
# Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
|
2010-02-26 00:41:19 +01:00
|
|
|
#
|
2010-04-24 11:49:11 +02:00
|
|
|
# This program and the accompanying materials
|
2010-02-26 00:41:19 +01:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PiSmmCore
|
2014-08-28 08:34:06 +02:00
|
|
|
MODULE_UNI_FILE = PiSmmCore.uni
|
2010-02-26 00:41:19 +01:00
|
|
|
FILE_GUID = E94F54CD-81EB-47ed-AEC3-856F5DC157A9
|
|
|
|
MODULE_TYPE = SMM_CORE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
PI_SPECIFICATION_VERSION = 0x0001000A
|
|
|
|
ENTRY_POINT = SmmMain
|
|
|
|
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
PiSmmCore.c
|
|
|
|
PiSmmCore.h
|
|
|
|
PiSmmCorePrivateData.h
|
|
|
|
Page.c
|
|
|
|
Pool.c
|
|
|
|
Handle.c
|
|
|
|
Locate.c
|
|
|
|
Notify.c
|
|
|
|
Dependency.c
|
|
|
|
Dispatcher.c
|
|
|
|
Smi.c
|
|
|
|
InstallConfigurationTable.c
|
2014-11-12 04:27:48 +01:00
|
|
|
SmramProfileRecord.c
|
2016-10-23 17:14:00 +02:00
|
|
|
MemoryAttributesTable.c
|
2010-02-26 00:41:19 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2010-03-03 06:45:50 +01:00
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
2010-02-26 00:41:19 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
PeCoffLib
|
2016-06-18 04:14:40 +02:00
|
|
|
PeCoffGetEntryPointLib
|
2010-02-26 00:41:19 +01:00
|
|
|
CacheMaintenanceLib
|
|
|
|
DebugLib
|
|
|
|
ReportStatusCodeLib
|
|
|
|
DevicePathLib
|
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
MemoryAllocationLib
|
2010-03-03 06:45:50 +01:00
|
|
|
PcdLib
|
2011-08-16 04:58:20 +02:00
|
|
|
SmmCorePlatformHookLib
|
|
|
|
PerformanceLib
|
2012-05-16 02:55:04 +02:00
|
|
|
TimerLib
|
2014-12-09 03:20:16 +01:00
|
|
|
HobLib
|
2015-02-02 15:42:22 +01:00
|
|
|
SmmMemLib
|
2011-08-16 04:58:20 +02:00
|
|
|
|
2010-02-26 00:41:19 +01:00
|
|
|
[Protocols]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiDxeSmmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
|
|
|
|
gEfiSmmReadyToLockProtocolGuid ## PRODUCES
|
|
|
|
gEfiSmmCpuIo2ProtocolGuid ## CONSUMES
|
|
|
|
gEfiFirmwareVolume2ProtocolGuid ## CONSUMES
|
|
|
|
gEfiSmmEndOfDxeProtocolGuid ## PRODUCES
|
|
|
|
gEfiSecurityArchProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiSecurity2ArchProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiLoadedImageProtocolGuid ## PRODUCES
|
|
|
|
gEfiDevicePathProtocolGuid ## CONSUMES
|
2015-06-18 11:26:41 +02:00
|
|
|
gEdkiiSmmExitBootServicesProtocolGuid ## SOMETIMES_PRODUCES
|
|
|
|
gEdkiiSmmLegacyBootProtocolGuid ## SOMETIMES_PRODUCES
|
|
|
|
gEdkiiSmmReadyToBootProtocolGuid ## PRODUCES
|
2010-02-26 00:41:19 +01:00
|
|
|
|
2010-03-03 06:45:50 +01:00
|
|
|
[Pcd]
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable ## CONSUMES
|
2014-11-12 04:27:48 +01:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType ## CONSUMES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask ## CONSUMES
|
2016-06-18 04:14:40 +02:00
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileDriverPath ## CONSUMES
|
2014-11-12 04:27:48 +01:00
|
|
|
|
2010-02-26 00:41:19 +01:00
|
|
|
[Guids]
|
2014-08-28 08:34:06 +02:00
|
|
|
gAprioriGuid ## SOMETIMES_CONSUMES ## File
|
|
|
|
gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
|
|
|
gEfiEventLegacyBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
2015-06-18 11:26:41 +02:00
|
|
|
gEfiEventExitBootServicesGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
|
|
|
gEfiEventReadyToBootGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
2014-08-28 08:34:06 +02:00
|
|
|
gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
2014-11-12 04:27:48 +01:00
|
|
|
## SOMETIMES_CONSUMES ## GUID # Locate protocol
|
|
|
|
## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
|
|
|
|
gEdkiiMemoryProfileGuid
|
2016-06-18 04:14:40 +02:00
|
|
|
## SOMETIMES_PRODUCES ## GUID # Install protocol
|
|
|
|
gEdkiiSmmMemoryProfileGuid
|
2016-10-23 17:14:00 +02:00
|
|
|
gEdkiiPiSmmMemoryAttributesTableGuid ## SOMETIMES_PRODUCES ## SystemTable
|
2016-12-12 03:09:51 +01:00
|
|
|
## SOMETIMES_CONSUMES ## SystemTable
|
|
|
|
gLoadFixedAddressConfigurationTableGuid
|
2014-08-28 08:34:06 +02:00
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
PiSmmCoreExtra.uni
|