1## @file
2#  Debug Agent library instance for SMM modules.
3#
4#  Copyright (c) 2010 - 2016, 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
16[Defines]
17  INF_VERSION                    = 0x00010005
18  BASE_NAME                      = SmmDebugAgentLib
19  MODULE_UNI_FILE                = SmmDebugAgentLib.uni
20  FILE_GUID                      = CB07D74C-598F-4268-A5D1-644FB4A481E8
21  MODULE_TYPE                    = DXE_SMM_DRIVER
22  VERSION_STRING                 = 0.8
23  LIBRARY_CLASS                  = DebugAgentLib|DXE_SMM_DRIVER
24
25#
26# The following information is for reference only and not required by the build tools.
27#
28#  VALID_ARCHITECTURES           = IA32 X64
29#
30
31[Sources.common]
32  SmmDebugAgent/SmmDebugAgentLib.c
33  SmmDebugAgent/SmmDebugAgentLib.h
34  DebugAgentCommon/DebugAgent.c
35  DebugAgentCommon/DebugAgent.h
36  DebugAgentCommon/DebugTimer.c
37  DebugAgentCommon/DebugTimer.h
38  DebugAgentCommon/DebugMp.c
39  DebugAgentCommon/DebugMp.h
40
41[Sources.Ia32]
42  DebugAgentCommon/Ia32/AsmFuncs.S
43  DebugAgentCommon/Ia32/AsmFuncs.asm
44  DebugAgentCommon/Ia32/AsmFuncs.nasm
45  DebugAgentCommon/Ia32/ArchDebugSupport.h
46  DebugAgentCommon/Ia32/ArchDebugSupport.c
47  DebugAgentCommon/Ia32/DebugException.h
48
49[Sources.X64]
50  DebugAgentCommon/X64/AsmFuncs.S
51  DebugAgentCommon/X64/AsmFuncs.asm
52  DebugAgentCommon/X64/AsmFuncs.nasm
53  DebugAgentCommon/X64/ArchDebugSupport.h
54  DebugAgentCommon/X64/ArchDebugSupport.c
55  DebugAgentCommon/X64/DebugException.h
56
57[Packages]
58  MdePkg/MdePkg.dec
59  MdeModulePkg/MdeModulePkg.dec
60  UefiCpuPkg/UefiCpuPkg.dec
61  SourceLevelDebugPkg/SourceLevelDebugPkg.dec
62
63[LibraryClasses]
64  BaseLib
65  BaseMemoryLib
66  ResetSystemLib
67  IoLib
68  DebugCommunicationLib
69  UefiLib
70  PcdLib
71  SynchronizationLib
72  LocalApicLib
73  TimerLib
74  PrintLib
75  PeCoffExtraActionLib
76  PeCoffGetEntryPointLib
77  SmmServicesTableLib
78
79[Guids]
80  ## CONSUMES ## SystemTable
81  ## CONSUMES ## HOB
82  gEfiDebugAgentGuid
83  gEfiVectorHandoffTableGuid            ## PRODUCES ## GUID # SMM Configuration Table
84
85[Pcd]
86  gEfiMdePkgTokenSpaceGuid.PcdFSBClock                                             ## SOMETIMES_CONSUMES
87  # Skip Page Fault exception (14) by default in SMM
88  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00004000  ## SOMETIMES_CONSUMES
89
90