|
OpenOCD
|
Represents a generic Andes core. More...

Data Fields | |
| int | active_syscall_id |
| Record syscall ID for other operations to do special processing for target. More... | |
| void * | arch_info |
| bool | attached |
| bool | audio_enable |
| Flag to indicate audio-extension is enabled or not. More... | |
| bool | auto_convert_hw_bp |
| Flag to indicate if auto convert software breakpoints to hardware breakpoints or not in ROM. More... | |
| uint32_t | backup_edm_ctl |
| uint32_t | boot_time |
| Period to wait after SRST. More... | |
| unsigned int | common_magic |
| struct reg_cache * | core_cache |
| struct nds32_cpu_version | cpu_version |
| cpu version More... | |
| uint32_t | current_interrupt_level |
| current interrupt level More... | |
| enum target_endianness | data_endian |
| Endian of data memory. More... | |
| enum target_endianness | device_reg_endian |
| Endian of device registers. More... | |
| struct nds32_edm | edm |
| Handle for the debug module. More... | |
| char * | edm_passcode |
| EDM passcode for debugging secure MCU. More... | |
| int(* | enter_debug_state )(struct nds32 *nds32, bool enable_watchpoint) |
| Backup target registers may be modified in debug state. More... | |
| bool | fpu_enable |
| Flag to indicate fpu-extension is enabled or not. More... | |
| int(* | full_context )(struct nds32 *nds32) |
| Retrieve all core registers, for display. More... | |
| int(* | get_debug_reason )(struct nds32 *nds32, uint32_t *reason) |
| Get debug exception virtual address. More... | |
| int(* | get_watched_address )(struct nds32 *nds32, uint32_t *address, uint32_t reason) |
| Get address hit watchpoint. More... | |
| bool | global_stop |
| Flag reporting whether global stop is active. More... | |
| bool | hit_syscall |
| Flag reporting whether continue/step hits syscall or not. More... | |
| bool | init_arch_info_after_halted |
| Flag to indicate register table is ready or not. More... | |
| bool | keep_target_edm_ctl |
| backup/restore target EDM_CTL value. More... | |
| int(* | leave_debug_state )(struct nds32 *nds32, bool enable_watchpoint) |
| Restore target registers may be modified in debug state. More... | |
| uint32_t | max_interrupt_level |
| maximum interrupt level More... | |
| struct nds32_memory | memory |
| Memory information. More... | |
| struct nds32_misc_config | misc_config |
| Misc configuration. More... | |
| struct nds32_mmu_config | mmu_config |
| MMU configuration. More... | |
| int | privilege_level |
| current privilege_level if using secure MCU. More... | |
| int(* | register_map )(struct nds32 *nds32, int reg_no) |
| Register mappings. More... | |
| bool | reset_halt_as_examine |
| reset-halt as target examine More... | |
| bool | soft_reset_halt |
| Flag reporting whether to use soft-reset-halt or not as issuing reset-halt. More... | |
| bool | step_isr_enable |
| Flag to indicate HSS steps into ISR or not. More... | |
| struct breakpoint | syscall_break |
| struct target * | target |
| Backpointer to the target. More... | |
| bool | virtual_hosting |
| Flag reporting whether virtual hosting is active. More... | |
| bool | virtual_hosting_ctrl_c |
| Flag reporting whether syscall is aborted. More... | |
| int | virtual_hosting_errno |
| Value to be returned by virtual hosting SYS_ERRNO request. More... | |
| uint32_t | watched_address |
| bool | word_access_mem |
| always use word-aligned address to access memory More... | |
| int nds32::active_syscall_id |
Record syscall ID for other operations to do special processing for target.
Definition at line 285 of file nds32.h.
Referenced by nds32_gdb_fileio_end(), nds32_gdb_fileio_write_memory(), nds32_get_gdb_fileio_info(), and nds32_init_arch_info().
| bool nds32::attached |
Definition at line 343 of file nds32.h.
Referenced by nds32_gdb_attach(), nds32_gdb_detach(), and nds32_init_arch_info().
| bool nds32::audio_enable |
Flag to indicate audio-extension is enabled or not.
Definition at line 324 of file nds32.h.
Referenced by nds32_check_extension(), nds32_get_core_reg(), and nds32_set_core_reg().
| bool nds32::auto_convert_hw_bp |
Flag to indicate if auto convert software breakpoints to hardware breakpoints or not in ROM.
Definition at line 340 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_init_arch_info(), nds32_v2_add_breakpoint(), nds32_v3_add_breakpoint(), and nds32_v3m_add_breakpoint().
| uint32_t nds32::backup_edm_ctl |
Definition at line 303 of file nds32.h.
Referenced by nds32_gdb_attach(), and nds32_gdb_detach().
| uint32_t nds32::boot_time |
Period to wait after SRST.
Definition at line 315 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_assert_reset(), and nds32_init_arch_info().
| unsigned int nds32::common_magic |
Definition at line 227 of file nds32.h.
Referenced by is_nds32(), nds32_arch_state(), and nds32_init_arch_info().
| struct reg_cache* nds32::core_cache |
Definition at line 229 of file nds32.h.
Referenced by nds32_assert_reset(), nds32_build_reg_cache(), nds32_get_all_reg_list(), nds32_get_mapped_reg(), nds32_init_must_have_registers(), nds32_init_option_registers(), nds32_poll(), nds32_profiling(), nds32_reg_current(), nds32_restore_context(), nds32_set_mapped_reg(), nds32_v2_debug_entry(), nds32_v2_leave_debug_state(), and nds32_v3_debug_entry().
| struct nds32_cpu_version nds32::cpu_version |
cpu version
Definition at line 229 of file nds32.h.
Referenced by nds32_assert_reset(), nds32_init_config(), and nds32_init_option_registers().
| uint32_t nds32::current_interrupt_level |
current interrupt level
Definition at line 268 of file nds32.h.
Referenced by nds32_reach_max_interrupt_level(), nds32_v2_check_interrupt_stack(), nds32_v2_register_mapping(), nds32_v3_check_interrupt_stack(), and nds32_v3m_check_interrupt_stack().
| enum target_endianness nds32::data_endian |
| enum target_endianness nds32::device_reg_endian |
| struct nds32_edm nds32::edm |
Handle for the debug module.
Definition at line 229 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_assert_reset(), nds32_edm_config(), nds32_init_option_registers(), and nds32_select_memory_mode().
| char* nds32::edm_passcode |
EDM passcode for debugging secure MCU.
Definition at line 309 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_init_arch_info(), and nds32_login().
Backup target registers may be modified in debug state.
Definition at line 259 of file nds32.h.
Referenced by nds32_halt(), nds32_poll(), nds32_step(), nds32_step_without_watchpoint(), nds32_v2_target_create(), and nds32_v3_target_create_common().
| bool nds32::fpu_enable |
Flag to indicate fpu-extension is enabled or not.
Definition at line 327 of file nds32.h.
Referenced by nds32_check_extension(), nds32_get_core_reg(), nds32_get_core_reg_64(), and nds32_set_core_reg().
Get debug exception virtual address.
Definition at line 253 of file nds32.h.
Referenced by nds32_examine_debug_reason(), nds32_v2_target_create(), and nds32_v3_target_create_common().
Get address hit watchpoint.
Definition at line 262 of file nds32.h.
Referenced by nds32_examine_debug_reason(), nds32_v2_target_create(), and nds32_v3_target_create_common().
| bool nds32::global_stop |
Flag reporting whether global stop is active.
Definition at line 290 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_init_arch_info(), nds32_v3_activate_hardware_watchpoint(), nds32_v3_add_watchpoint(), nds32_v3_deactivate_hardware_watchpoint(), nds32_v3_get_exception_address(), nds32_v3m_activate_hardware_watchpoint(), nds32_v3m_add_watchpoint(), and nds32_v3m_deactivate_hardware_watchpoint().
| bool nds32::hit_syscall |
Flag reporting whether continue/step hits syscall or not.
Definition at line 276 of file nds32.h.
Referenced by nds32_examine_debug_reason(), nds32_get_gdb_fileio_info(), nds32_init_arch_info(), nds32_step(), nds32_v3_debug_entry(), nds32_v3_leave_debug_state(), nds32_v3_read_buffer(), nds32_v3_read_memory(), and nds32_v3_write_buffer().
| bool nds32::init_arch_info_after_halted |
Flag to indicate register table is ready or not.
Definition at line 321 of file nds32.h.
Referenced by nds32_init_arch_info(), nds32_v2_debug_entry(), and nds32_v3_debug_entry().
| bool nds32::keep_target_edm_ctl |
backup/restore target EDM_CTL value.
As debugging target debug handler, it should be true.
Definition at line 300 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_gdb_attach(), nds32_gdb_detach(), and nds32_init_arch_info().
Restore target registers may be modified in debug state.
Definition at line 256 of file nds32.h.
Referenced by nds32_resume(), nds32_step(), nds32_step_without_watchpoint(), nds32_v2_target_create(), and nds32_v3_target_create_common().
| uint32_t nds32::max_interrupt_level |
maximum interrupt level
Definition at line 265 of file nds32.h.
Referenced by nds32_config(), nds32_reach_max_interrupt_level(), nds32_v2_check_interrupt_stack(), nds32_v2_register_mapping(), and nds32_v3_deassert_reset().
| struct nds32_memory nds32::memory |
Memory information.
Definition at line 229 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_cache_sync(), nds32_config(), nds32_init(), nds32_init_memory_config(), nds32_init_option_registers(), nds32_mmu(), nds32_read_buffer(), nds32_read_phys_memory(), nds32_select_memory_mode(), nds32_update_cache_info(), nds32_update_lm_info(), nds32_update_psw(), nds32_v2_activate_hardware_breakpoint(), nds32_v2_activate_hardware_watchpoint(), nds32_v2_read_buffer(), nds32_v2_read_memory(), nds32_v2_translate_address(), nds32_v2_write_buffer(), nds32_v3_activate_hardware_breakpoint(), nds32_v3_activate_hardware_watchpoint(), nds32_v3_read_buffer(), nds32_v3_read_memory(), nds32_v3_write_buffer(), nds32_v3_write_memory(), nds32_v3m_activate_hardware_breakpoint(), nds32_v3m_activate_hardware_watchpoint(), nds32_virtual_to_physical(), nds32_write_buffer(), and nds32_write_phys_memory().
| struct nds32_misc_config nds32::misc_config |
Misc configuration.
Definition at line 229 of file nds32.h.
Referenced by nds32_config(), nds32_init_config(), and nds32_init_option_registers().
| struct nds32_mmu_config nds32::mmu_config |
MMU configuration.
Definition at line 229 of file nds32.h.
Referenced by nds32_init_config(), nds32_init_option_registers(), nds32_mmu(), nds32_update_mmu_info(), and nds32_walk_page_table().
| int nds32::privilege_level |
current privilege_level if using secure MCU.
value 0 is the highest level.
Definition at line 312 of file nds32.h.
Referenced by nds32_init_arch_info(), nds32_init_option_registers(), and nds32_login().
Register mappings.
Definition at line 250 of file nds32.h.
Referenced by nds32_get_core_reg(), nds32_profiling(), nds32_set_core_reg(), nds32_v2_target_create(), and nds32_v3_target_create_common().
| bool nds32::reset_halt_as_examine |
reset-halt as target examine
Definition at line 296 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_init_arch_info(), nds32_v2_examine(), nds32_v3_examine(), and nds32_v3m_examine().
| bool nds32::soft_reset_halt |
Flag reporting whether to use soft-reset-halt or not as issuing reset-halt.
Definition at line 293 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_assert_reset(), and nds32_init_arch_info().
| bool nds32::step_isr_enable |
Flag to indicate HSS steps into ISR or not.
Definition at line 318 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_step(), and nds32_step_without_watchpoint().
| struct breakpoint nds32::syscall_break |
Definition at line 285 of file nds32.h.
Referenced by nds32_init_arch_info(), nds32_v3_debug_entry(), and nds32_v3_leave_debug_state().
| struct target* nds32::target |
Backpointer to the target.
Definition at line 346 of file nds32.h.
Referenced by nds32_edm_config(), nds32_examine_debug_reason(), nds32_gdb_attach(), nds32_gdb_detach(), nds32_gdb_fileio_write_memory(), nds32_init(), nds32_init_arch_info(), nds32_login(), nds32_probe_tlb(), nds32_read_opcode(), nds32_reset_halt(), nds32_step_without_watchpoint(), nds32_target_state(), nds32_update_psw(), nds32_v2_check_interrupt_stack(), nds32_v2_debug_entry(), nds32_v2_examine(), nds32_v2_get_debug_reason(), nds32_v2_get_exception_address(), nds32_v2_leave_debug_state(), nds32_v2_restore_interrupt_stack(), nds32_v3_debug_entry(), nds32_v3_examine(), nds32_v3_get_debug_reason(), nds32_v3_get_exception_address(), nds32_v3_leave_debug_state(), nds32_v3m_examine(), and nds32_walk_page_table().
| bool nds32::virtual_hosting |
Flag reporting whether virtual hosting is active.
Definition at line 273 of file nds32.h.
Referenced by COMMAND_HANDLER(), nds32_arch_state(), nds32_gdb_detach(), nds32_init_arch_info(), nds32_v2_debug_entry(), nds32_v3_debug_entry(), and nds32_v3_leave_debug_state().
| bool nds32::virtual_hosting_ctrl_c |
Flag reporting whether syscall is aborted.
Definition at line 282 of file nds32.h.
Referenced by nds32_gdb_fileio_end(), nds32_init_arch_info(), and nds32_resume().
| int nds32::virtual_hosting_errno |
Value to be returned by virtual hosting SYS_ERRNO request.
Definition at line 279 of file nds32.h.
Referenced by nds32_gdb_fileio_end(), nds32_get_gdb_fileio_info(), and nds32_init_arch_info().
| uint32_t nds32::watched_address |
Definition at line 270 of file nds32.h.
Referenced by nds32_examine_debug_reason(), nds32_v2_hit_watchpoint(), and nds32_v3_hit_watchpoint().
| bool nds32::word_access_mem |
always use word-aligned address to access memory
Definition at line 306 of file nds32.h.
Referenced by COMMAND_HANDLER(), and nds32_init_arch_info().