TianoCore EDK2 master
|
#include "Edb.h"
Go to the source code of this file.
Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EdbCmdBreakpoint.c.
EFI_STATUS DebuggerBreakpointAdd | ( | IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, |
IN UINTN | Address | ||
) |
Add this breakpoint.
DebuggerPrivate | EBC Debugger private data structure |
Address | Breakpoint Address |
EFI_SUCCESS | breakpoint added successfully |
EFI_ALREADY_STARTED | breakpoint is already added |
EFI_OUT_OF_RESOURCES | all the breakpoint entries are used |
Definition at line 87 of file EdbCmdBreakpoint.c.
EFI_DEBUG_STATUS DebuggerBreakpointClear | ( | IN CHAR16 * | CommandArg, |
IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, | ||
IN EFI_EXCEPTION_TYPE | ExceptionType, | ||
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
DebuggerCommand - BreakpointClear
CommandArg | The argument for this command |
DebuggerPrivate | EBC Debugger private data structure |
ExceptionType | Exception type. |
SystemContext | EBC system context. |
EFI_DEBUG_CONTINUE | formal return value |
Definition at line 375 of file EdbCmdBreakpoint.c.
EFI_STATUS DebuggerBreakpointDel | ( | IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, |
IN UINTN | Index | ||
) |
Delete this breakpoint.
DebuggerPrivate | EBC Debugger private data structure |
Index | Breakpoint Index |
EFI_SUCCESS | breakpoint deleted successfully |
EFI_NOT_FOUND | breakpoint not found |
Definition at line 145 of file EdbCmdBreakpoint.c.
EFI_STATUS DebuggerBreakpointDis | ( | IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, |
IN UINTN | Index | ||
) |
Disable this breakpoint.
DebuggerPrivate | EBC Debugger private data structure |
Index | Breakpoint Index |
EFI_SUCCESS | breakpoint disabled successfully |
EFI_NOT_FOUND | breakpoint not found |
Definition at line 194 of file EdbCmdBreakpoint.c.
EFI_DEBUG_STATUS DebuggerBreakpointDisable | ( | IN CHAR16 * | CommandArg, |
IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, | ||
IN EFI_EXCEPTION_TYPE | ExceptionType, | ||
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
DebuggerCommand - BreakpointDisable
CommandArg | The argument for this command |
DebuggerPrivate | EBC Debugger private data structure |
ExceptionType | Exception type. |
SystemContext | EBC system context. |
EFI_DEBUG_CONTINUE | formal return value |
Definition at line 443 of file EdbCmdBreakpoint.c.
EFI_STATUS DebuggerBreakpointEn | ( | IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, |
IN UINTN | Index | ||
) |
Enable this breakpoint.
DebuggerPrivate | - EBC Debugger private data structure |
Index | - Breakpoint Index |
EFI_SUCCESS | - breakpoint enabled successfully |
EFI_NOT_FOUND | - breakpoint not found |
Definition at line 225 of file EdbCmdBreakpoint.c.
EFI_DEBUG_STATUS DebuggerBreakpointEnable | ( | IN CHAR16 * | CommandArg, |
IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, | ||
IN EFI_EXCEPTION_TYPE | ExceptionType, | ||
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
DebuggerCommand - BreakpointEnable.
CommandArg | The argument for this command |
DebuggerPrivate | EBC Debugger private data structure |
ExceptionType | Exception type. |
SystemContext | EBC system context. |
EFI_DEBUG_CONTINUE | formal return value |
Definition at line 505 of file EdbCmdBreakpoint.c.
BOOLEAN DebuggerBreakpointIsDuplicated | ( | IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, |
IN UINTN | Address | ||
) |
Check whether the Address is already set in breakpoint.
DebuggerPrivate | EBC Debugger private data structure |
Address | Breakpoint Address |
TRUE | breakpoint is found |
FALSE | breakpoint is not found |
Definition at line 49 of file EdbCmdBreakpoint.c.
EFI_DEBUG_STATUS DebuggerBreakpointList | ( | IN CHAR16 * | CommandArg, |
IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, | ||
IN EFI_EXCEPTION_TYPE | ExceptionType, | ||
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
DebuggerCommand - BreakpointList.
CommandArg | - The argument for this command |
DebuggerPrivate | - EBC Debugger private data structure |
ExceptionType | - Exception type. |
SystemContext | - EBC system context. |
EFI_DEBUG_CONTINUE | - formal return value |
Definition at line 257 of file EdbCmdBreakpoint.c.
EFI_DEBUG_STATUS DebuggerBreakpointSet | ( | IN CHAR16 * | CommandArg, |
IN EFI_DEBUGGER_PRIVATE_DATA * | DebuggerPrivate, | ||
IN EFI_EXCEPTION_TYPE | ExceptionType, | ||
IN OUT EFI_SYSTEM_CONTEXT | SystemContext | ||
) |
DebuggerCommand - BreakpointSet.
CommandArg | The argument for this command |
DebuggerPrivate | EBC Debugger private data structure |
ExceptionType | Exception type. |
SystemContext | EBC system context. |
EFI_DEBUG_CONTINUE | - formal return value |
Definition at line 317 of file EdbCmdBreakpoint.c.
Check whether current IP is EBC BREAK3 instruction.
Address | EBC IP address. |
TRUE | Current IP is EBC BREAK3 instruction |
FALSE | Current IP is not EBC BREAK3 instruction |
Definition at line 22 of file EdbCmdBreakpoint.c.