* Introduce a generic Debugger Configuration protocol. * Add private configuration data in the EBC Debugger and make it register the Debugger Configuration protocol on initialization. * Add a shell application that uses the protocol above to access the private data in order to configure the EBC debugger. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Pete Batard <pete@akeo.ie> reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/** @file
 | 
						|
  EBC Debugger configuration protocol.
 | 
						|
 | 
						|
  Copyright (c) 2007-2016, 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.
 | 
						|
 | 
						|
**/
 | 
						|
 | 
						|
#ifndef __EFI_DEBUGGER_CONFIGURATION_H__
 | 
						|
#define __EFI_DEBUGGER_CONFIGURATION_H__
 | 
						|
 | 
						|
#define EFI_DEBUGGER_CONFIGURATION_PROTOCOL_GUID \
 | 
						|
  { 0x577d959c, 0xe967, 0x4546, 0x86, 0x20, 0xc7, 0x78, 0xfa, 0xe5, 0xda, 0x5 }
 | 
						|
 | 
						|
#define EFI_DEBUGGER_CONFIGURATION_VERSION  0x00000001
 | 
						|
 | 
						|
typedef struct _EFI_DEBUGGER_CONFIGURATION_PROTOCOL {
 | 
						|
  UINT32                      DebuggerConfigurationRevision;
 | 
						|
  VOID                        *DebuggerPrivateData;
 | 
						|
} EFI_DEBUGGER_CONFIGURATION_PROTOCOL;
 | 
						|
 | 
						|
extern EFI_GUID gEfiDebuggerConfigurationProtocolGuid;
 | 
						|
 | 
						|
#endif
 |