TianoCore EDK2 master
Loading...
Searching...
No Matches
EdbCommon.h File Reference

Go to the source code of this file.

Data Structures

struct  EFI_DEBUGGER_COMMAND_SET
 
struct  EFI_DEBUGGER_SYMBOL_ENTRY
 
struct  EFI_DEBUGGER_SYMBOL_OBJECT
 
struct  EFI_DEBUGGER_SYMBOL_CONTEXT
 
struct  EFI_DEBUGGER_BREAKPOINT_CONTEXT
 
struct  EFI_DEBUGGER_CALLSTACK_CONTEXT
 
struct  EFI_DEBUGGER_TRACE_CONTEXT
 
struct  EFI_DEBUGGER_STEP_CONTEXT
 
struct  EFI_DEBUGGER_GOTIL_CONTEXT
 
struct  _EFI_DEBUGGER_PRIVATE_DATA
 

Macros

#define EFI_DEBUGGER_SYMBOL_NAME_MAX   256
 
#define EFI_DEBUGGER_SYMBOL_ENTRY_MAX   512
 
#define EFI_DEBUGGER_SYMBOL_OBJECT_MAX   32
 
#define EFI_DEBUGGER_BREAKPOINT_MAX   0x10
 
#define EFI_DEBUGGER_CALLSTACK_MAX   0x10
 
#define EFI_DEBUGGER_CALL_MAX_PARAMETER   0x16
 
#define EFI_DEBUGGER_CALL_DEFAULT_PARAMETER   0x8
 
#define EFI_DEBUGGER_TRACE_MAX   0x10
 
#define EFI_DEBUGGER_SIGNATURE   SIGNATURE_32 ('e', 'd', 'b', '!')
 
#define EFI_DEBUG_DEFAULT_INSTRUCTION_NUMBER   5
 
#define EFI_DEBUG_BREAK_TIMER_INTERVAL   10000000
 
#define EFI_DEBUG_FLAG_EBC   0x80000000
 
#define EFI_DEBUG_FLAG_EBC_B_BOC   0x1
 
#define EFI_DEBUG_FLAG_EBC_B_BOCX   0x2
 
#define EFI_DEBUG_FLAG_EBC_B_BOR   0x4
 
#define EFI_DEBUG_FLAG_EBC_B_BOE   0x8
 
#define EFI_DEBUG_FLAG_EBC_B_BOT   0x10
 
#define EFI_DEBUG_FLAG_EBC_B_STEPOVER   0x20
 
#define EFI_DEBUG_FLAG_EBC_B_STEPOUT   0x40
 
#define EFI_DEBUG_FLAG_EBC_B_BP   0x80
 
#define EFI_DEBUG_FLAG_EBC_B_GT   0x100
 
#define EFI_DEBUG_FLAG_EBC_B_BOK   0x200
 
#define EFI_DEBUG_FLAG_EBC_BOC   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOC)
 
#define EFI_DEBUG_FLAG_EBC_BOCX   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOCX)
 
#define EFI_DEBUG_FLAG_EBC_BOR   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOR)
 
#define EFI_DEBUG_FLAG_EBC_BOE   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOE)
 
#define EFI_DEBUG_FLAG_EBC_BOT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOT)
 
#define EFI_DEBUG_FLAG_EBC_STEPOVER   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_STEPOVER)
 
#define EFI_DEBUG_FLAG_EBC_STEPOUT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_STEPOUT)
 
#define EFI_DEBUG_FLAG_EBC_BP   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BP)
 
#define EFI_DEBUG_FLAG_EBC_GT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_GT)
 
#define EFI_DEBUG_FLAG_EBC_BOK   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOK)
 

Typedefs

typedef UINTN EFI_DEBUG_STATUS
 
typedef struct _EFI_DEBUGGER_PRIVATE_DATA EFI_DEBUGGER_PRIVATE_DATA
 
typedef EFI_DEBUG_STATUS(* EFI_DEBUGGER_COMMAND) (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 

Enumerations

enum  EFI_DEBUGGER_SYMBOL_TYPE {
  EfiDebuggerSymbolFunction , EfiDebuggerSymbolStaticFunction , EfiDebuggerSymbolGlobalVariable , EfiDebuggerSymbolStaticVariable ,
  EfiDebuggerSymbolTypeMax
}
 
enum  EFI_DEBUGGER_BRANCH_TYPE {
  EfiDebuggerBranchTypeEbcCall , EfiDebuggerBranchTypeEbcCallEx , EfiDebuggerBranchTypeEbcRet , EfiDebuggerBranchTypeEbcJmp ,
  EfiDebuggerBranchTypeEbcJmp8 , EfiDebuggerBranchTypeEbcMax
}
 

Detailed Description

Copyright (c) 2007, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EdbCommon.h.

Macro Definition Documentation

◆ EFI_DEBUG_BREAK_TIMER_INTERVAL

#define EFI_DEBUG_BREAK_TIMER_INTERVAL   10000000

Definition at line 185 of file EdbCommon.h.

◆ EFI_DEBUG_DEFAULT_INSTRUCTION_NUMBER

#define EFI_DEBUG_DEFAULT_INSTRUCTION_NUMBER   5

Definition at line 183 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC

#define EFI_DEBUG_FLAG_EBC   0x80000000

Definition at line 187 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOC

#define EFI_DEBUG_FLAG_EBC_B_BOC   0x1

Definition at line 188 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOCX

#define EFI_DEBUG_FLAG_EBC_B_BOCX   0x2

Definition at line 189 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOE

#define EFI_DEBUG_FLAG_EBC_B_BOE   0x8

Definition at line 191 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOK

#define EFI_DEBUG_FLAG_EBC_B_BOK   0x200

Definition at line 197 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOR

#define EFI_DEBUG_FLAG_EBC_B_BOR   0x4

Definition at line 190 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BOT

#define EFI_DEBUG_FLAG_EBC_B_BOT   0x10

Definition at line 192 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_BP

#define EFI_DEBUG_FLAG_EBC_B_BP   0x80

Definition at line 195 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_GT

#define EFI_DEBUG_FLAG_EBC_B_GT   0x100

Definition at line 196 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_STEPOUT

#define EFI_DEBUG_FLAG_EBC_B_STEPOUT   0x40

Definition at line 194 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_B_STEPOVER

#define EFI_DEBUG_FLAG_EBC_B_STEPOVER   0x20

Definition at line 193 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOC

#define EFI_DEBUG_FLAG_EBC_BOC   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOC)

Definition at line 198 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOCX

#define EFI_DEBUG_FLAG_EBC_BOCX   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOCX)

Definition at line 199 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOE

#define EFI_DEBUG_FLAG_EBC_BOE   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOE)

Definition at line 201 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOK

#define EFI_DEBUG_FLAG_EBC_BOK   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOK)

Definition at line 207 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOR

#define EFI_DEBUG_FLAG_EBC_BOR   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOR)

Definition at line 200 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BOT

#define EFI_DEBUG_FLAG_EBC_BOT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BOT)

Definition at line 202 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_BP

#define EFI_DEBUG_FLAG_EBC_BP   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_BP)

Definition at line 205 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_GT

#define EFI_DEBUG_FLAG_EBC_GT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_GT)

Definition at line 206 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_STEPOUT

#define EFI_DEBUG_FLAG_EBC_STEPOUT   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_STEPOUT)

Definition at line 204 of file EdbCommon.h.

◆ EFI_DEBUG_FLAG_EBC_STEPOVER

#define EFI_DEBUG_FLAG_EBC_STEPOVER   (EFI_DEBUG_FLAG_EBC | EFI_DEBUG_FLAG_EBC_B_STEPOVER)

Definition at line 203 of file EdbCommon.h.

◆ EFI_DEBUGGER_BREAKPOINT_MAX

#define EFI_DEBUGGER_BREAKPOINT_MAX   0x10

Definition at line 116 of file EdbCommon.h.

◆ EFI_DEBUGGER_CALL_DEFAULT_PARAMETER

#define EFI_DEBUGGER_CALL_DEFAULT_PARAMETER   0x8

Definition at line 139 of file EdbCommon.h.

◆ EFI_DEBUGGER_CALL_MAX_PARAMETER

#define EFI_DEBUGGER_CALL_MAX_PARAMETER   0x16

Definition at line 138 of file EdbCommon.h.

◆ EFI_DEBUGGER_CALLSTACK_MAX

#define EFI_DEBUGGER_CALLSTACK_MAX   0x10

Definition at line 127 of file EdbCommon.h.

◆ EFI_DEBUGGER_SIGNATURE

#define EFI_DEBUGGER_SIGNATURE   SIGNATURE_32 ('e', 'd', 'b', '!')

Definition at line 181 of file EdbCommon.h.

◆ EFI_DEBUGGER_SYMBOL_ENTRY_MAX

#define EFI_DEBUGGER_SYMBOL_ENTRY_MAX   512

Definition at line 58 of file EdbCommon.h.

◆ EFI_DEBUGGER_SYMBOL_NAME_MAX

#define EFI_DEBUGGER_SYMBOL_NAME_MAX   256

Definition at line 57 of file EdbCommon.h.

◆ EFI_DEBUGGER_SYMBOL_OBJECT_MAX

#define EFI_DEBUGGER_SYMBOL_OBJECT_MAX   32

Definition at line 59 of file EdbCommon.h.

◆ EFI_DEBUGGER_TRACE_MAX

#define EFI_DEBUGGER_TRACE_MAX   0x10

Definition at line 155 of file EdbCommon.h.

Typedef Documentation

◆ EFI_DEBUG_STATUS

typedef UINTN EFI_DEBUG_STATUS

Definition at line 28 of file EdbCommon.h.

◆ EFI_DEBUGGER_COMMAND

typedef EFI_DEBUG_STATUS(* EFI_DEBUGGER_COMMAND) (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)

Definition at line 36 of file EdbCommon.h.

◆ EFI_DEBUGGER_PRIVATE_DATA

Definition at line 30 of file EdbCommon.h.

Enumeration Type Documentation

◆ EFI_DEBUGGER_BRANCH_TYPE

enum EFI_DEBUGGER_BRANCH_TYPE

Definition at line 129 of file EdbCommon.h.

◆ EFI_DEBUGGER_SYMBOL_TYPE

enum EFI_DEBUGGER_SYMBOL_TYPE

Definition at line 75 of file EdbCommon.h.