TianoCore EDK2 master
Loading...
Searching...
No Matches
EdbCmdStep.c File Reference
#include "Edb.h"

Go to the source code of this file.

Functions

BOOLEAN IsEBCCALL (IN UINTN Address)
 
BOOLEAN IsEBCRET (IN UINTN Address)
 
EFI_DEBUG_STATUS DebuggerStepInto (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerStepOver (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerStepOut (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 

Detailed Description

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

Definition in file EdbCmdStep.c.

Function Documentation

◆ DebuggerStepInto()

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

DebuggerCommand - StepInto.

Parameters
CommandArg- The argument for this command
DebuggerPrivate- EBC Debugger private data structure
ExceptionType- Exception type.
SystemContext- EBC system context.
Return values
EFI_DEBUG_CONTINUE- formal return value

Definition at line 76 of file EdbCmdStep.c.

◆ DebuggerStepOut()

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

DebuggerCommand - StepOut.

Parameters
CommandArg- The argument for this command
DebuggerPrivate- EBC Debugger private data structure
ExceptionType- Exception type.
SystemContext- EBC system context.
Return values
EFI_DEBUG_CONTINUE- formal return value

Definition at line 136 of file EdbCmdStep.c.

◆ DebuggerStepOver()

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

DebuggerCommand - StepOver.

Parameters
CommandArg- The argument for this command
DebuggerPrivate- EBC Debugger private data structure
ExceptionType- Exception type.
SystemContext- EBC system context.
Return values
EFI_DEBUG_CONTINUE- formal return value

Definition at line 101 of file EdbCmdStep.c.

◆ IsEBCCALL()

BOOLEAN IsEBCCALL ( IN UINTN  Address)

Check whether current IP is EBC CALL instruction (NOTE: CALLEX is exclusive)

Parameters
Address- EBC IP address.
Return values
TRUE- Current IP is EBC CALL instruction
FALSE- Current IP is not EBC CALL instruction

Definition at line 22 of file EdbCmdStep.c.

◆ IsEBCRET()

BOOLEAN IsEBCRET ( IN UINTN  Address)

Check whether current IP is EBC RET instruction.

Parameters
Address- EBC IP address.
Return values
TRUE- Current IP is EBC RET instruction
FALSE- Current IP is not EBC RET instruction

Definition at line 48 of file EdbCmdStep.c.