OpenOCD
mips_mips64.c File Reference
Include dependency graph for mips_mips64.c:

Go to the source code of this file.

Functions

 COMMAND_HANDLER (handle_mips64mode32)
 
static uint64_t mips64_extend_sign (uint64_t addr)
 
static int mips_mips16_set_sdbbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips16_unset_sdbbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_add_breakpoint (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_add_watchpoint (struct target *target, struct watchpoint *watchpoint)
 
static int mips_mips64_assert_reset (struct target *target)
 
static int mips_mips64_bulk_write_memory (struct target *target, target_addr_t address, uint32_t count, const uint8_t *buffer)
 
static int mips_mips64_checksum_memory (struct target *target, uint64_t address, uint32_t size, uint32_t *checksum)
 
static int mips_mips64_deassert_reset (struct target *target)
 
static int mips_mips64_debug_entry (struct target *target)
 
static int mips_mips64_enable_breakpoints (struct target *target)
 
static int mips_mips64_enable_watchpoints (struct target *target)
 
static int mips_mips64_examine (struct target *target)
 
static int mips_mips64_examine_debug_reason (struct target *target)
 
static int mips_mips64_halt (struct target *target)
 
static int mips_mips64_init_target (struct command_context *cmd_ctx, struct target *target)
 
static int mips_mips64_poll (struct target *target)
 
static int mips_mips64_read_memory (struct target *target, uint64_t address, uint32_t size, uint32_t count, uint8_t *buffer)
 
static int mips_mips64_remove_breakpoint (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_remove_watchpoint (struct target *target, struct watchpoint *watchpoint)
 
static int mips_mips64_resume (struct target *target, int current, uint64_t address, int handle_breakpoints, int debug_execution)
 
static int mips_mips64_set_breakpoint (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_set_hwbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_set_sdbbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_set_watchpoint (struct target *target, struct watchpoint *watchpoint)
 
static int mips_mips64_single_step_core (struct target *target)
 
static int mips_mips64_step (struct target *target, int current, uint64_t address, int handle_breakpoints)
 
static int mips_mips64_target_create (struct target *target, Jim_Interp *interp)
 
static int mips_mips64_unset_breakpoint (struct target *target, struct breakpoint *breakpoint)
 
static int mips_mips64_unset_hwbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_unset_sdbbp (struct target *target, struct breakpoint *bp)
 
static int mips_mips64_unset_watchpoint (struct target *target, struct watchpoint *watchpoint)
 
static int mips_mips64_write_memory (struct target *target, uint64_t address, uint32_t size, uint32_t count, const uint8_t *buffer)
 

Variables

static const struct command_registration mips64_commands_handlers []
 
struct target_type mips_mips64_target
 

Function Documentation

◆ COMMAND_HANDLER()

COMMAND_HANDLER ( handle_mips64mode32  )

◆ mips64_extend_sign()

static uint64_t mips64_extend_sign ( uint64_t  addr)
static

◆ mips_mips16_set_sdbbp()

static int mips_mips16_set_sdbbp ( struct target target,
struct breakpoint bp 
)
static

◆ mips_mips16_unset_sdbbp()

static int mips_mips16_unset_sdbbp ( struct target target,
struct breakpoint bp 
)
static

◆ mips_mips64_add_breakpoint()

◆ mips_mips64_add_watchpoint()

static int mips_mips64_add_watchpoint ( struct target target,
struct watchpoint watchpoint 
)
static

◆ mips_mips64_assert_reset()

◆ mips_mips64_bulk_write_memory()

◆ mips_mips64_checksum_memory()

static int mips_mips64_checksum_memory ( struct target target,
uint64_t  address,
uint32_t  size,
uint32_t *  checksum 
)
static

Definition at line 1117 of file mips_mips64.c.

References ERROR_FAIL.

◆ mips_mips64_deassert_reset()

static int mips_mips64_deassert_reset ( struct target target)
static

Definition at line 197 of file mips_mips64.c.

References ERROR_OK, jtag_add_reset(), LOG_DEBUG, and target_state_name().

◆ mips_mips64_debug_entry()

◆ mips_mips64_enable_breakpoints()

static int mips_mips64_enable_breakpoints ( struct target target)
static

◆ mips_mips64_enable_watchpoints()

static int mips_mips64_enable_watchpoints ( struct target target)
static

◆ mips_mips64_examine()

static int mips_mips64_examine ( struct target target)
static

◆ mips_mips64_examine_debug_reason()

static int mips_mips64_examine_debug_reason ( struct target target)
static

◆ mips_mips64_halt()

◆ mips_mips64_init_target()

static int mips_mips64_init_target ( struct command_context cmd_ctx,
struct target target 
)
static

Definition at line 1079 of file mips_mips64.c.

References mips64_build_reg_cache().

◆ mips_mips64_poll()

◆ mips_mips64_read_memory()

◆ mips_mips64_remove_breakpoint()

static int mips_mips64_remove_breakpoint ( struct target target,
struct breakpoint bp 
)
static

◆ mips_mips64_remove_watchpoint()

static int mips_mips64_remove_watchpoint ( struct target target,
struct watchpoint watchpoint 
)
static

◆ mips_mips64_resume()

◆ mips_mips64_set_breakpoint()

◆ mips_mips64_set_hwbp()

◆ mips_mips64_set_sdbbp()

static int mips_mips64_set_sdbbp ( struct target target,
struct breakpoint bp 
)
static

◆ mips_mips64_set_watchpoint()

◆ mips_mips64_single_step_core()

static int mips_mips64_single_step_core ( struct target target)
static

◆ mips_mips64_step()

◆ mips_mips64_target_create()

static int mips_mips64_target_create ( struct target target,
Jim_Interp *  interp 
)
static

◆ mips_mips64_unset_breakpoint()

◆ mips_mips64_unset_hwbp()

◆ mips_mips64_unset_sdbbp()

static int mips_mips64_unset_sdbbp ( struct target target,
struct breakpoint bp 
)
static

◆ mips_mips64_unset_watchpoint()

◆ mips_mips64_write_memory()

Variable Documentation

◆ mips64_commands_handlers

const struct command_registration mips64_commands_handlers[]
static
Initial value:
= {
{
.name = "mips64mode32",
.mode = COMMAND_EXEC,
.help = "Enable/disable 32 bit mode",
.usage = "[1|0]",
.handler = handle_mips64mode32
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:253
@ COMMAND_EXEC
Definition: command.h:40

Definition at line 1123 of file mips_mips64.c.

◆ mips_mips64_target

struct target_type mips_mips64_target

Definition at line 1123 of file mips_mips64.c.