TianoCore EDK2 master
Loading...
Searching...
No Matches
Edb.h File Reference
#include "EdbCommon.h"
#include "EdbSupport.h"
#include "EdbCommand.h"
#include "EdbDisasm.h"
#include "EdbDisasmSupport.h"
#include "EdbSymbol.h"
#include "EdbHook.h"

Go to the source code of this file.

Macros

#define EBC_DEBUGGER_MAJOR_VERSION   1
 
#define EBC_DEBUGGER_MINOR_VERSION   0
 
#define EFI_DEBUG_RETURN   1
 
#define EFI_DEBUG_BREAK   2
 
#define EFI_DEBUG_CONTINUE   3
 

Functions

EFI_STATUS EfiDebuggerEntrypoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 
VOID EFIAPI EdbExceptionHandler (IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 

Variables

EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate
 

Detailed Description

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

Definition in file Edb.h.

Macro Definition Documentation

◆ EBC_DEBUGGER_MAJOR_VERSION

#define EBC_DEBUGGER_MAJOR_VERSION   1

Definition at line 14 of file Edb.h.

◆ EBC_DEBUGGER_MINOR_VERSION

#define EBC_DEBUGGER_MINOR_VERSION   0

Definition at line 15 of file Edb.h.

◆ EFI_DEBUG_BREAK

#define EFI_DEBUG_BREAK   2

Definition at line 18 of file Edb.h.

◆ EFI_DEBUG_CONTINUE

#define EFI_DEBUG_CONTINUE   3

Definition at line 19 of file Edb.h.

◆ EFI_DEBUG_RETURN

#define EFI_DEBUG_RETURN   1

Definition at line 17 of file Edb.h.

Function Documentation

◆ EdbExceptionHandler()

VOID EFIAPI EdbExceptionHandler ( IN EFI_EXCEPTION_TYPE  ExceptionType,
IN OUT EFI_SYSTEM_CONTEXT  SystemContext 
)

The default Exception Callback for the VM interpreter. In this function, we report status code, and print debug information about EBC_CONTEXT, then dead loop.

Parameters
ExceptionTypeException type.
SystemContextEBC system context.

Definition at line 489 of file Edb.c.

◆ EfiDebuggerEntrypoint()

EFI_STATUS EfiDebuggerEntrypoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Driver Entry point.

Parameters
ImageHandleImageHandle of the loaded driver.
SystemTablePointer to the EFI System Table.

Variable Documentation

◆ mDebuggerPrivate

EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate
extern

Definition at line 11 of file Edb.c.