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

Go to the source code of this file.

Functions

UINTN EdbDisplayMemoryUnit (IN UINTN Address, IN EDB_DATA_WIDTH Width)
 
VOID EdbDisplayMemory (IN UINTN Address, IN UINTN Count, IN EDB_DATA_WIDTH Width)
 
VOID EdbEnterMemory (IN UINTN Address, IN VOID *Value, IN EDB_DATA_WIDTH Width)
 
EFI_STATUS EdbGetMemoryAddressCount (IN CHAR16 *CommandArg, IN UINTN *Address, IN UINTN *Count)
 
EFI_STATUS EdbGetMemoryAddressValue (IN CHAR16 *CommandArg, IN UINTN *Address, IN UINT64 *Value)
 
EFI_DEBUG_STATUS DebuggerMemoryDisplay (IN CHAR16 *CommandArg, IN EDB_DATA_WIDTH Width)
 
EFI_DEBUG_STATUS DebuggerMemoryEnter (IN CHAR16 *CommandArg, IN EDB_DATA_WIDTH Width)
 
EFI_DEBUG_STATUS DebuggerMemoryDB (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryDW (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryDD (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryDQ (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryEB (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryEW (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryED (IN CHAR16 *CommandArg, IN EFI_DEBUGGER_PRIVATE_DATA *DebuggerPrivate, IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
 
EFI_DEBUG_STATUS DebuggerMemoryEQ (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 EdbCmdMemory.c.

Function Documentation

◆ DebuggerMemoryDB()

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

DebuggerCommand - DB.

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

Definition at line 415 of file EdbCmdMemory.c.

◆ DebuggerMemoryDD()

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

DebuggerCommand - DD.

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

Definition at line 461 of file EdbCmdMemory.c.

◆ DebuggerMemoryDisplay()

EFI_DEBUG_STATUS DebuggerMemoryDisplay ( IN CHAR16 *  CommandArg,
IN EDB_DATA_WIDTH  Width 
)

Display memory.

Parameters
CommandArg- The argument for this command
Width- Memory Width
Return values
EFI_DEBUG_RETURN- formal return value

Definition at line 335 of file EdbCmdMemory.c.

◆ DebuggerMemoryDQ()

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

DebuggerCommand - DQ.

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

Definition at line 484 of file EdbCmdMemory.c.

◆ DebuggerMemoryDW()

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

DebuggerCommand - DW.

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

Definition at line 438 of file EdbCmdMemory.c.

◆ DebuggerMemoryEB()

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

DebuggerCommand - EB.

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

Definition at line 507 of file EdbCmdMemory.c.

◆ DebuggerMemoryED()

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

DebuggerCommand - ED.

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

Definition at line 553 of file EdbCmdMemory.c.

◆ DebuggerMemoryEnter()

EFI_DEBUG_STATUS DebuggerMemoryEnter ( IN CHAR16 *  CommandArg,
IN EDB_DATA_WIDTH  Width 
)

Enter memory.

Parameters
CommandArg- The argument for this command
Width- Memory Width
Return values
EFI_DEBUG_RETURN- formal return value

Definition at line 374 of file EdbCmdMemory.c.

◆ DebuggerMemoryEQ()

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

DebuggerCommand - EQ.

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

Definition at line 576 of file EdbCmdMemory.c.

◆ DebuggerMemoryEW()

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

DebuggerCommand - EW.

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

Definition at line 530 of file EdbCmdMemory.c.

◆ EdbDisplayMemory()

VOID EdbDisplayMemory ( IN UINTN  Address,
IN UINTN  Count,
IN EDB_DATA_WIDTH  Width 
)

Display memory.

Parameters
Address- Memory Address
Count- Memory Count
Width- Memory Width

Definition at line 73 of file EdbCmdMemory.c.

◆ EdbDisplayMemoryUnit()

UINTN EdbDisplayMemoryUnit ( IN UINTN  Address,
IN EDB_DATA_WIDTH  Width 
)

Display memory unit.

Parameters
Address- Memory Address
Width- Memory Width
Returns
Length of the memory unit

Definition at line 22 of file EdbCmdMemory.c.

◆ EdbEnterMemory()

VOID EdbEnterMemory ( IN UINTN  Address,
IN VOID *  Value,
IN EDB_DATA_WIDTH  Width 
)

Entry memory.

Parameters
Address- Memory Address
Value- Memory Value
Width- Memory Width

Definition at line 171 of file EdbCmdMemory.c.

◆ EdbGetMemoryAddressCount()

EFI_STATUS EdbGetMemoryAddressCount ( IN CHAR16 *  CommandArg,
IN UINTN Address,
IN UINTN Count 
)

Get memory address and count.

Parameters
CommandArg- The argument for this command
Address- Memory Address
Count- Memory Count
Return values
EFI_SUCCESS- memory address and count are got
EFI_INVALID_PARAMETER- something wrong

Definition at line 210 of file EdbCmdMemory.c.

◆ EdbGetMemoryAddressValue()

EFI_STATUS EdbGetMemoryAddressValue ( IN CHAR16 *  CommandArg,
IN UINTN Address,
IN UINT64 *  Value 
)

Get memory address and value.

Parameters
CommandArg- The argument for this command
Address- Memory Address
Value- Memory Value
Return values
EFI_SUCCESS- memory address and value are got
EFI_INVALID_PARAMETER- something wrong

Definition at line 273 of file EdbCmdMemory.c.