OpenOCD
|
Go to the source code of this file.
Variables | |
static struct nds32_v3_common_callback | nds32_v3m_common_callback |
struct target_type | nds32_v3m_target |
Holds methods for NDS32 V3m targets. More... | |
|
static |
Definition at line 18 of file nds32_v3m.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_v3m_common::n_hbr, nds32_v3m_common::nds32, NDS_EDM_SR_BPA0, NDS_EDM_SR_BPAM0, NDS_EDM_SR_BPC0, breakpoint::next, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3m(), and breakpoint::type.
|
static |
Definition at line 79 of file nds32_v3m.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_v3m_common::nds32, NDS_EDM_SR_BPA0, NDS_EDM_SR_BPAM0, NDS_EDM_SR_BPC0, NDS_EDM_SR_EDM_CTL, watchpoint::next, watchpoint::rw, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3m(), target::watchpoints, WPT_ACCESS, WPT_READ, and WPT_WRITE.
|
static |
Definition at line 229 of file nds32_v3m.c.
References nds32::auto_convert_hw_bp, BKPT_HARD, BKPT_SOFT, ERROR_FAIL, ERROR_OK, ERROR_TARGET_RESOURCE_NOT_AVAILABLE, LOG_WARNING, nds32_v3m_common::n_hbr, nds32_v3m_common::nds32, nds32_add_software_breakpoint(), nds32_v3m_common::next_hbr_index, nds32_v3m_common::next_hwp_index, target_to_nds32_v3m(), breakpoint::type, and nds32_v3m_common::used_n_wp.
|
static |
Definition at line 298 of file nds32_v3m.c.
References ERROR_OK, ERROR_TARGET_RESOURCE_NOT_AVAILABLE, nds32::global_stop, LOG_WARNING, nds32_v3m_common::n_hbr, nds32_v3m_common::n_hwp, nds32_v3m_common::nds32, nds32_v3m_common::next_hbr_index, nds32_v3m_common::next_hwp_index, target_to_nds32_v3m(), and nds32_v3m_common::used_n_wp.
|
static |
Definition at line 176 of file nds32_v3m.c.
References nds32::current_interrupt_level, ERROR_OK, IR0, IR6, LOG_ERROR, nds32_get_mapped_reg(), nds32_reach_max_interrupt_level(), and watchpoint::value.
|
static |
Definition at line 54 of file nds32_v3m.c.
References breakpoint::address, aice_write_debug_reg(), BKPT_HARD, BKPT_SOFT, target::breakpoints, ERROR_FAIL, ERROR_OK, LOG_DEBUG, nds32_v3m_common::n_hbr, NDS_EDM_SR_BPC0, breakpoint::next, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3m(), and breakpoint::type.
|
static |
Definition at line 144 of file nds32_v3m.c.
References watchpoint::address, aice_read_debug_reg(), aice_write_debug_reg(), ERROR_OK, nds32::global_stop, LOG_DEBUG, watchpoint::mask, nds32_v3m_common::nds32, NDS_EDM_SR_BPC0, NDS_EDM_SR_EDM_CTL, watchpoint::next, TARGET_PRIxADDR, target_to_aice(), target_to_nds32_v3m(), and target::watchpoints.
|
static |
Definition at line 210 of file nds32_v3m.c.
References CHECK_RETVAL, ERROR_OK, LOG_WARNING, nds32_poll(), target::state, target_halt(), TARGET_HALTED, and target_name().
|
static |
check the hardware breakpoint is simple or not
Definition at line 395 of file nds32_v3m.c.
References aice_read_debug_reg(), aice_write_debug_reg(), CHECK_RETVAL, DBG_REASON_NOTHALTED, target::debug_reason, ERROR_OK, LOG_INFO, nds32_v3m_common::n_hbr, nds32_v3m_common::n_hwp, nds32_v3m_common::nds32, nds32_edm_config(), nds32_reset_halt(), NDS_EDM_SR_BPC0, NDS_EDM_SR_EDM_CFG, nds32_v3m_common::next_hbr_index, nds32_v3m_common::next_hwp_index, nds32::reset_halt_as_examine, target::state, nds32::target, target_name(), TARGET_RUNNING, target_set_examined(), target_to_aice(), target_to_nds32_v3m(), target_was_examined(), and nds32_v3m_common::used_n_wp.
|
static |
Definition at line 276 of file nds32_v3m.c.
References BKPT_HARD, BKPT_SOFT, ERROR_FAIL, ERROR_OK, nds32_v3m_common::n_hbr, nds32_remove_software_breakpoint(), nds32_v3m_common::next_hbr_index, target_to_nds32_v3m(), and breakpoint::type.
|
static |
Definition at line 352 of file nds32_v3m.c.
|
static |
Definition at line 195 of file nds32_v3m.c.
References ERROR_OK, IR0, IR6, nds32_get_mapped_reg(), nds32_set_mapped_reg(), and watchpoint::value.
|
static |
Definition at line 380 of file nds32_v3m.c.
References ERROR_FAIL, ERROR_OK, nds32_v3m_common::nds32, nds32_v3_common_register_callback(), nds32_v3_target_create_common(), and nds32_v3m_common_callback.
|
static |
Definition at line 352 of file nds32_v3m.c.
Referenced by nds32_v3m_target_create().
struct target_type nds32_v3m_target |
Holds methods for NDS32 V3m targets.
Definition at line 395 of file nds32_v3m.c.