V3 changes: Add detailed description for the usage of the Pcd in package DEC file. Update the comment for the introduced Pcd in module INF files. V2 changes: Instead of using a global variable, use a Pcd for transfer protocol revision. Previously, the revision of the debug agent transfer protocol is reflected by a macro. This commit introduces a Pcd to reflect the revision in order to avoid the comparison of two macros, which will generate a constant result detected by code checkers. Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
		
			
				
	
	
		
			106 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
#  Debug Agent library instance for Dxe Core and Dxe modules.
 | 
						|
#
 | 
						|
#  Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
 | 
						|
#
 | 
						|
#  This program and the accompanying materials
 | 
						|
#  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                      = DxeDebugAgentLib
 | 
						|
  MODULE_UNI_FILE                = DxeDebugAgentLib.uni
 | 
						|
  FILE_GUID                      = BA6BAD25-B814-4747-B0B0-0FBB61D40B90
 | 
						|
  MODULE_TYPE                    = DXE_DRIVER
 | 
						|
  VERSION_STRING                 = 0.8
 | 
						|
  LIBRARY_CLASS                  = DebugAgentLib|DXE_CORE DXE_DRIVER
 | 
						|
 | 
						|
  CONSTRUCTOR                    = DxeDebugAgentLibConstructor
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64
 | 
						|
#
 | 
						|
 | 
						|
[Sources.common]
 | 
						|
  DxeDebugAgent/DxeDebugAgentLib.c
 | 
						|
  DxeDebugAgent/DxeDebugAgentLib.h
 | 
						|
  DxeDebugAgent/SerialIo.c
 | 
						|
  DebugAgentCommon/DebugAgent.c
 | 
						|
  DebugAgentCommon/DebugAgent.h
 | 
						|
  DebugAgentCommon/DebugTimer.c
 | 
						|
  DebugAgentCommon/DebugTimer.h
 | 
						|
  DebugAgentCommon/DebugMp.c
 | 
						|
  DebugAgentCommon/DebugMp.h
 | 
						|
 | 
						|
[Sources.Ia32]
 | 
						|
  DebugAgentCommon/Ia32/AsmFuncs.S
 | 
						|
  DebugAgentCommon/Ia32/AsmFuncs.asm
 | 
						|
  DebugAgentCommon/Ia32/AsmFuncs.nasm
 | 
						|
  DebugAgentCommon/Ia32/ArchDebugSupport.h
 | 
						|
  DebugAgentCommon/Ia32/ArchDebugSupport.c
 | 
						|
  DebugAgentCommon/Ia32/DebugException.h
 | 
						|
 | 
						|
[Sources.X64]
 | 
						|
  DebugAgentCommon/X64/AsmFuncs.S
 | 
						|
  DebugAgentCommon/X64/AsmFuncs.asm
 | 
						|
  DebugAgentCommon/X64/AsmFuncs.nasm
 | 
						|
  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
 | 
						|
  HobLib
 | 
						|
  DebugCommunicationLib
 | 
						|
  UefiBootServicesTableLib
 | 
						|
  UefiLib
 | 
						|
  PcdLib
 | 
						|
  SynchronizationLib
 | 
						|
  MemoryAllocationLib
 | 
						|
  LocalApicLib
 | 
						|
  TimerLib
 | 
						|
  PrintLib
 | 
						|
  PeCoffGetEntryPointLib
 | 
						|
  PeCoffExtraActionLib
 | 
						|
  MemoryAllocationLib
 | 
						|
 | 
						|
[Guids]
 | 
						|
  ## PRODUCES ## SystemTable
 | 
						|
  ## CONSUMES ## HOB
 | 
						|
  gEfiDebugAgentGuid
 | 
						|
  ## SOMETIMES_CONSUMES ## SystemTable
 | 
						|
  ## SOMETIMES_PRODUCES ## SystemTable
 | 
						|
  gEfiVectorHandoffTableGuid
 | 
						|
 | 
						|
[Ppis]
 | 
						|
  gEfiVectorHandoffInfoPpiGuid                  ## UNDEFINED
 | 
						|
 | 
						|
[Protocols]
 | 
						|
  gEfiSerialIoProtocolGuid                      ## SOMETIMES_PRODUCES
 | 
						|
  gEfiDevicePathProtocolGuid                    ## SOMETIMES_PRODUCES 
 | 
						|
 | 
						|
[Pcd]
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdFSBClock                                  ## SOMETIMES_CONSUMES
 | 
						|
  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger  ## SOMETIMES_CONSUMES
 | 
						|
  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize    ## CONSUMES
 | 
						|
  gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdTransferProtocolRevision     ## CONSUMES
 | 
						|
 |