Go to the source code of this file.
◆ nds32_v3_activate_hardware_breakpoint()
static int nds32_v3_activate_hardware_breakpoint |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 18 of file nds32_v3.c.
References breakpoint::address, nds32_memory::address_translation, aice_write_debug_reg(), BKPT_HARD, BKPT_SOFT, target::breakpoints, ERROR_FAIL, ERROR_OK, LOG_DEBUG, nds32::memory, nds32_v3_common::nds32, NDS_EDM_SR_BPA0, NDS_EDM_SR_BPAM0, NDS_EDM_SR_BPC0, NDS_EDM_SR_BPV0, breakpoint::next, nds32_v3_common::next_hbr_index, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3(), and breakpoint::type.
◆ nds32_v3_activate_hardware_watchpoint()
static int nds32_v3_activate_hardware_watchpoint |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 80 of file nds32_v3.c.
References watchpoint::address, nds32_memory::address_translation, aice_read_debug_reg(), aice_write_debug_reg(), ERROR_OK, nds32::global_stop, watchpoint::length, LOG_DEBUG, watchpoint::mask, nds32::memory, nds32_v3_common::nds32, NDS_EDM_SR_BPA0, NDS_EDM_SR_BPAM0, NDS_EDM_SR_BPC0, NDS_EDM_SR_BPV0, NDS_EDM_SR_EDM_CTL, watchpoint::next, watchpoint::rw, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3(), target::watchpoints, WPT_ACCESS, WPT_READ, and WPT_WRITE.
◆ nds32_v3_add_breakpoint()
static int nds32_v3_add_breakpoint |
( |
struct target * |
target, |
|
|
struct breakpoint * |
breakpoint |
|
) |
| |
|
static |
Definition at line 272 of file nds32_v3.c.
References nds32::auto_convert_hw_bp, BKPT_HARD, BKPT_SOFT, ERROR_FAIL, ERROR_OK, ERROR_TARGET_RESOURCE_NOT_AVAILABLE, LOG_WARNING, nds32_v3_common::n_hbr, nds32_v3_common::nds32, nds32_add_software_breakpoint(), nds32_v3_common::next_hbr_index, target_to_nds32_v3(), breakpoint::type, and nds32_v3_common::used_n_wp.
◆ nds32_v3_add_watchpoint()
static int nds32_v3_add_watchpoint |
( |
struct target * |
target, |
|
|
struct watchpoint * |
watchpoint |
|
) |
| |
|
static |
◆ nds32_v3_check_interrupt_stack()
static int nds32_v3_check_interrupt_stack |
( |
struct nds32 * |
nds32 | ) |
|
|
static |
◆ nds32_v3_deactivate_hardware_breakpoint()
static int nds32_v3_deactivate_hardware_breakpoint |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 55 of file nds32_v3.c.
References breakpoint::address, aice_write_debug_reg(), BKPT_HARD, BKPT_SOFT, target::breakpoints, ERROR_FAIL, ERROR_OK, LOG_DEBUG, NDS_EDM_SR_BPC0, breakpoint::next, nds32_v3_common::next_hbr_index, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3(), and breakpoint::type.
◆ nds32_v3_deactivate_hardware_watchpoint()
static int nds32_v3_deactivate_hardware_watchpoint |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 147 of file nds32_v3.c.
References watchpoint::address, aice_read_debug_reg(), aice_write_debug_reg(), ERROR_OK, nds32::global_stop, LOG_DEBUG, watchpoint::mask, nds32_v3_common::nds32, NDS_EDM_SR_BPC0, NDS_EDM_SR_EDM_CTL, watchpoint::next, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3(), and target::watchpoints.
◆ nds32_v3_deassert_reset()
static int nds32_v3_deassert_reset |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 218 of file nds32_v3.c.
References aice_read_debug_reg(), aice_write_debug_reg(), CHECK_RETVAL, ERROR_OK, IR0, IR11, IR9, LOG_WARNING, nds32::max_interrupt_level, nds32_v3_common::nds32, nds32_get_mapped_reg(), nds32_poll(), nds32_set_mapped_reg(), NDS_EDM_SR_EDM_CTL, target::state, target_halt(), TARGET_HALTED, target_name(), target_to_aice(), and target_to_nds32_v3().
◆ nds32_v3_examine()
static int nds32_v3_examine |
( |
struct target * |
target | ) |
|
|
static |
Definition at line 420 of file nds32_v3.c.
References aice_read_debug_reg(), CHECK_RETVAL, DBG_REASON_NOTHALTED, target::debug_reason, ERROR_OK, LOG_INFO, nds32_v3_common::low_interference_profile, nds32_v3_common::n_hbr, nds32_v3_common::nds32, nds32_edm_config(), nds32_reset_halt(), NDS_EDM_SR_EDM_CFG, nds32_v3_common::next_hbr_index, nds32::reset_halt_as_examine, target::state, nds32::target, target_name(), TARGET_RUNNING, target_set_examined(), target_to_aice(), target_to_nds32_v3(), target_was_examined(), and nds32_v3_common::used_n_wp.
◆ nds32_v3_remove_breakpoint()
static int nds32_v3_remove_breakpoint |
( |
struct target * |
target, |
|
|
struct breakpoint * |
breakpoint |
|
) |
| |
|
static |
◆ nds32_v3_remove_watchpoint()
static int nds32_v3_remove_watchpoint |
( |
struct target * |
target, |
|
|
struct watchpoint * |
watchpoint |
|
) |
| |
|
static |
◆ nds32_v3_restore_interrupt_stack()
static int nds32_v3_restore_interrupt_stack |
( |
struct nds32 * |
nds32 | ) |
|
|
static |
◆ nds32_v3_target_create()
static int nds32_v3_target_create |
( |
struct target * |
target, |
|
|
Jim_Interp * |
interp |
|
) |
| |
|
static |
◆ nds32_v3_common_callback
Initial value:= {
}
static int nds32_v3_deactivate_hardware_watchpoint(struct target *target)
static int nds32_v3_activate_hardware_breakpoint(struct target *target)
static int nds32_v3_deactivate_hardware_breakpoint(struct target *target)
static int nds32_v3_activate_hardware_watchpoint(struct target *target)
static int nds32_v3_restore_interrupt_stack(struct nds32 *nds32)
static int nds32_v3_check_interrupt_stack(struct nds32 *nds32)
Definition at line 377 of file nds32_v3.c.
◆ nds32_v3_target
Holds methods for Andes1337 targets.
Definition at line 420 of file nds32_v3.c.