2010-09-12 08:43:36 +02:00
|
|
|
## @file
|
|
|
|
# Debug Agent library instance for SMM modules.
|
|
|
|
#
|
2018-06-04 07:36:30 +02:00
|
|
|
# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-09-12 08:43:36 +02:00
|
|
|
#
|
2019-04-04 01:07:10 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2010-09-12 08:43:36 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
2013-01-25 03:36:18 +01:00
|
|
|
BASE_NAME = SmmDebugAgentLib
|
2014-08-28 07:13:05 +02:00
|
|
|
MODULE_UNI_FILE = SmmDebugAgentLib.uni
|
2010-09-12 08:43:36 +02:00
|
|
|
FILE_GUID = CB07D74C-598F-4268-A5D1-644FB4A481E8
|
|
|
|
MODULE_TYPE = DXE_SMM_DRIVER
|
2015-04-27 21:53:36 +02:00
|
|
|
VERSION_STRING = 0.8
|
2010-09-12 08:43:36 +02:00
|
|
|
LIBRARY_CLASS = DebugAgentLib|DXE_SMM_DRIVER
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
SmmDebugAgent/SmmDebugAgentLib.c
|
|
|
|
SmmDebugAgent/SmmDebugAgentLib.h
|
|
|
|
DebugAgentCommon/DebugAgent.c
|
|
|
|
DebugAgentCommon/DebugAgent.h
|
|
|
|
DebugAgentCommon/DebugTimer.c
|
|
|
|
DebugAgentCommon/DebugTimer.h
|
|
|
|
DebugAgentCommon/DebugMp.c
|
|
|
|
DebugAgentCommon/DebugMp.h
|
|
|
|
|
|
|
|
[Sources.Ia32]
|
2016-06-14 10:53:57 +02:00
|
|
|
DebugAgentCommon/Ia32/AsmFuncs.nasm
|
2010-09-12 08:43:36 +02:00
|
|
|
DebugAgentCommon/Ia32/ArchDebugSupport.h
|
|
|
|
DebugAgentCommon/Ia32/ArchDebugSupport.c
|
|
|
|
DebugAgentCommon/Ia32/DebugException.h
|
|
|
|
|
|
|
|
[Sources.X64]
|
2016-06-14 10:53:57 +02:00
|
|
|
DebugAgentCommon/X64/AsmFuncs.nasm
|
2010-09-12 08:43:36 +02:00
|
|
|
DebugAgentCommon/X64/ArchDebugSupport.h
|
|
|
|
DebugAgentCommon/X64/ArchDebugSupport.c
|
|
|
|
DebugAgentCommon/X64/DebugException.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
|
|
|
SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
|
|
|
ResetSystemLib
|
|
|
|
IoLib
|
|
|
|
DebugCommunicationLib
|
|
|
|
UefiLib
|
|
|
|
PcdLib
|
|
|
|
SynchronizationLib
|
|
|
|
LocalApicLib
|
2012-02-07 02:58:30 +01:00
|
|
|
TimerLib
|
2012-06-11 04:15:11 +02:00
|
|
|
PrintLib
|
2013-01-25 03:36:18 +01:00
|
|
|
PeCoffExtraActionLib
|
|
|
|
PeCoffGetEntryPointLib
|
2013-11-22 07:30:01 +01:00
|
|
|
SmmServicesTableLib
|
2010-09-12 08:43:36 +02:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 07:13:05 +02:00
|
|
|
## CONSUMES ## SystemTable
|
|
|
|
## CONSUMES ## HOB
|
|
|
|
gEfiDebugAgentGuid
|
2015-01-19 03:44:10 +01:00
|
|
|
gEfiVectorHandoffTableGuid ## PRODUCES ## GUID # SMM Configuration Table
|
2010-09-12 08:43:36 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2014-08-28 07:13:05 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdFSBClock ## SOMETIMES_CONSUMES
|
2015-01-19 03:44:10 +01:00
|
|
|
# Skip Page Fault exception (14) by default in SMM
|
2014-08-28 07:13:05 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00004000 ## SOMETIMES_CONSUMES
|
2017-09-01 03:32:10 +02:00
|
|
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdTransferProtocolRevision ## CONSUMES
|
2010-09-12 08:43:36 +02:00
|
|
|
|