OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | reg |
struct | reg_arch_type |
struct | reg_cache |
struct | reg_data_type |
struct | reg_data_type_bitfield |
struct | reg_data_type_flags |
struct | reg_data_type_flags_field |
struct | reg_data_type_struct |
struct | reg_data_type_struct_field |
struct | reg_data_type_union |
struct | reg_data_type_union_field |
struct | reg_data_type_vector |
struct | reg_feature |
Functions | |
void | register_cache_invalidate (struct reg_cache *cache) |
Marks the contents of the register cache as invalid (and clean). More... | |
struct reg * | register_get_by_name (struct reg_cache *first, const char *name, bool search_all) |
struct reg * | register_get_by_number (struct reg_cache *first, uint32_t reg_num, bool search_all) |
struct reg_cache ** | register_get_last_cache_p (struct reg_cache **first) |
void | register_init_dummy (struct reg *reg) |
void | register_unlink_cache (struct reg_cache **cache_p, const struct reg_cache *cache) |
enum reg_data_type_class |
Enumerator | |
---|---|
REG_TYPE_CLASS_VECTOR | |
REG_TYPE_CLASS_UNION | |
REG_TYPE_CLASS_STRUCT | |
REG_TYPE_CLASS_FLAGS |
Definition at line 92 of file register.h.
enum reg_type |
Definition at line 19 of file register.h.
void register_cache_invalidate | ( | struct reg_cache * | cache | ) |
Marks the contents of the register cache as invalid (and clean).
Definition at line 94 of file register.c.
References reg::dirty, reg::exist, reg_cache::num_regs, reg_cache::reg_list, and reg::valid.
Referenced by aarch64_assert_reset(), aarch64_poll(), aarch64_restore_context(), adapter_resume(), adapter_step(), arc_assert_reset(), arc_resume(), arc_step(), arm11_assert_reset(), arm11_debug_entry(), arm11_leave_debug_state(), arm7_9_assert_reset(), arm7_9_resume(), arm7_9_soft_reset_halt(), arm7_9_step(), avr32_ap7k_resume(), cortex_a_assert_reset(), cortex_a_internal_restart(), cortex_a_internal_restore(), cortex_m_assert_reset(), cortex_m_endreset_event(), cortex_m_poll_one(), cortex_m_restart_one(), cortex_m_soft_reset_halt(), cortex_m_step(), dsp563xx_assert_reset(), dsp563xx_resume(), dsp563xx_step_ex(), esirisc_assert_reset(), esirisc_resume_or_step(), execute_resume(), hl_assert_reset(), mips_m4k_assert_reset(), mips_m4k_internal_restore(), mips_m4k_step(), or1k_resume_or_step(), resume_finish(), riscv_invalidate_register_cache(), riscv_openocd_step(), stm8_reset_assert(), stm8_resume(), stm8_step(), xscale_deassert_reset(), xscale_resume(), xscale_step_inner(), and xtensa_assert_reset().
Definition at line 50 of file register.c.
References reg::exist, name, reg::name, reg_cache::next, NULL, reg_cache::num_regs, and reg_cache::reg_list.
Referenced by armv4_5_run_algorithm_inner(), armv7m_start_algorithm(), armv7m_wait_algorithm(), COMMAND_HANDLER(), dsp563xx_run_algorithm(), mips32_run_algorithm(), riscv_run_algorithm(), stm8_run_algorithm(), target_jim_get_reg(), target_profiling_default(), xtensa_start_algorithm(), and xtensa_wait_algorithm().
Definition at line 28 of file register.c.
References reg::exist, reg_cache::next, NULL, reg_cache::num_regs, reg::number, and reg_cache::reg_list.
Referenced by hwthread_get_thread_reg(), and hwthread_set_reg().
Definition at line 72 of file register.c.
Referenced by arc_build_bcr_reg_cache(), arc_build_reg_cache(), arm11_examine(), arm7_9_examine(), arm7tdmi_build_reg_cache(), arm9tdmi_build_reg_cache(), arm_dpm_setup(), armv7m_build_reg_cache(), armv8_build_reg_cache(), avr32_build_reg_cache(), cortex_m_dwt_setup(), dsp563xx_build_reg_cache(), esirisc_build_reg_cache(), lakemont_build_reg_cache(), mips32_build_reg_cache(), mips64_build_reg_cache(), or1k_build_reg_cache(), stm8_build_reg_cache(), xscale_build_reg_cache(), and xtensa_build_reg_cache().
void register_init_dummy | ( | struct reg * | reg | ) |
Definition at line 123 of file register.c.
References dummy_type, and reg::type.
Definition at line 85 of file register.c.
References reg_cache::next.
Referenced by cortex_m_dwt_free(), and xtensa_free_reg_cache().