Home | History | Annotate | Download | only in DebugAgent
      1 ## @file

      2 #  Debug Agent library instance for SMM modules.

      3 #

      4 #  Copyright (c) 2010 - 2015, 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     | GCC
     43   DebugAgentCommon/Ia32/AsmFuncs.asm
     44   DebugAgentCommon/Ia32/ArchDebugSupport.h
     45   DebugAgentCommon/Ia32/ArchDebugSupport.c
     46   DebugAgentCommon/Ia32/DebugException.h
     47 
     48 [Sources.X64]
     49   DebugAgentCommon/X64/AsmFuncs.S      | GCC
     50   DebugAgentCommon/X64/AsmFuncs.asm
     51   DebugAgentCommon/X64/ArchDebugSupport.h
     52   DebugAgentCommon/X64/ArchDebugSupport.c
     53   DebugAgentCommon/X64/DebugException.h
     54 
     55 [Packages]
     56   MdePkg/MdePkg.dec
     57   MdeModulePkg/MdeModulePkg.dec
     58   UefiCpuPkg/UefiCpuPkg.dec
     59   SourceLevelDebugPkg/SourceLevelDebugPkg.dec
     60 
     61 [LibraryClasses]
     62   BaseLib
     63   BaseMemoryLib
     64   ResetSystemLib
     65   IoLib
     66   DebugCommunicationLib
     67   UefiLib
     68   PcdLib
     69   SynchronizationLib
     70   LocalApicLib
     71   TimerLib
     72   PrintLib
     73   PeCoffExtraActionLib
     74   PeCoffGetEntryPointLib
     75   SmmServicesTableLib
     76 
     77 [Guids]
     78   ## CONSUMES ## SystemTable

     79   ## CONSUMES ## HOB

     80   gEfiDebugAgentGuid
     81   gEfiVectorHandoffTableGuid            ## PRODUCES ## GUID # SMM Configuration Table

     82 
     83 [Pcd]
     84   gEfiMdePkgTokenSpaceGuid.PcdFSBClock                                             ## SOMETIMES_CONSUMES

     85   # Skip Page Fault exception (14) by default in SMM

     86   gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00004000  ## SOMETIMES_CONSUMES

     87 
     88