* This patch introduces EbcDebuggerHook.c/h and inserts the required EBCDebugger references into the existing EBC source files. * With all the hooks defined to their empty version in EbcDebuggerHook.c the existing EBC VM behaviour is left unaffected. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
		
			
				
	
	
		
			94 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			94 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  Module that produces EBC Interprete and EBC Debug Support protocols.
 | |
| #  
 | |
| #  This module implements EFI Byte Code (EBC) Virtual Machine that can provide 
 | |
| #  platform and processor-independent mechanisms for loading and executing EFI
 | |
| #  device drivers.
 | |
| #
 | |
| #  Copyright (c) 2015, The Linux Foundation. All rights reserved.
 | |
| #  Copyright (c) 2006 - 2014, 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                      = EbcDxe
 | |
|   MODULE_UNI_FILE                = EbcDxe.uni
 | |
|   FILE_GUID                      = 13AC6DD0-73D0-11D4-B06B-00AA00BD6DE7
 | |
|   MODULE_TYPE                    = DXE_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
|   ENTRY_POINT                    = InitializeEbcDriver
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF AARCH64
 | |
| #
 | |
| 
 | |
| [Sources]
 | |
|   EbcDebuggerHook.h
 | |
|   EbcDebuggerHook.c
 | |
|   EbcExecute.h
 | |
|   EbcExecute.c
 | |
|   EbcInt.h
 | |
|   EbcInt.c
 | |
| 
 | |
| [Sources.Ia32]
 | |
|   Ia32/EbcSupport.c
 | |
|   Ia32/EbcLowLevel.nasm
 | |
|   Ia32/EbcLowLevel.S
 | |
|   Ia32/EbcLowLevel.asm
 | |
| 
 | |
| [Sources.X64]
 | |
|   X64/EbcSupport.c
 | |
|   X64/EbcLowLevel.nasm
 | |
|   X64/EbcLowLevel.S
 | |
|   X64/EbcLowLevel.asm
 | |
| 
 | |
| [Sources.IPF]
 | |
|   Ipf/EbcSupport.h
 | |
|   Ipf/EbcSupport.c
 | |
|   Ipf/EbcLowLevel.s
 | |
| 
 | |
| [Sources.AARCH64]
 | |
|   AArch64/EbcSupport.c
 | |
|   AArch64/EbcLowLevel.S
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
|   MdeModulePkg/MdeModulePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   MemoryAllocationLib
 | |
|   UefiBootServicesTableLib
 | |
|   BaseMemoryLib
 | |
|   UefiDriverEntryPoint
 | |
|   DebugLib
 | |
|   BaseLib
 | |
| 
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiDebugSupportProtocolGuid                  ## PRODUCES
 | |
|   gEfiEbcProtocolGuid                           ## PRODUCES
 | |
|   gEfiEbcVmTestProtocolGuid                     ## SOMETIMES_PRODUCES
 | |
|   gEfiEbcSimpleDebuggerProtocolGuid             ## SOMETIMES_CONSUMES
 | |
| 
 | |
| [Depex]
 | |
|   TRUE
 | |
| 
 | |
| # [Event]
 | |
| #
 | |
| # Periodic timer event to support EFI debug support protocol for EBC image.
 | |
| #
 | |
| # EVENT_TYPE_PERIODIC_TIMER ## CONSUMES
 | |
| 
 | |
| [UserExtensions.TianoCore."ExtraFiles"]
 | |
|   EbcDxeExtra.uni
 |