target_to_armv7m() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

target_to_armv7m() function

Syntax

static inline struct armv7m_common * target_to_armv7m(struct target *target);

Arguments

target

Return value

the pointer to the target specific struct without matching a magic number. Use in target specific service routines, where the correct type of arch_info is certain.

References

LocationReferrerText
armv7m.h:262
target_to_armv7m(struct target *target)
FreeRTOS.c:422freertos_get_thread_reg_list()
struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target);
arm_io.c:125arm_nandwrite()
if (is_armv7m(target_to_armv7m(target))) { /* armv7m target */
arm_io.c:235arm_nandread()
if (is_armv7m(target_to_armv7m(target))) { /* armv7m target */
arm_semihosting.c:262arm_semihosting()
} else if (is_armv7m(target_to_armv7m(target))) {
armv7m.c:171armv7m_restore_context()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:314armv7m_read_core_reg()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:385armv7m_write_core_reg()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:462armv7m_get_gdb_reg_list()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:514armv7m_start_algorithm()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:628armv7m_wait_algorithm()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:730armv7m_arch_state()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:765armv7m_build_reg_cache()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:828armv7m_free_reg_cache()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.c:1067armv7m_maybe_skip_bkpt_inst()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m.h:287target_to_armv7m_safe()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m_trace.c:20armv7m_trace_itm_config()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m_trace.c:78handle_itm_port_command()
struct armv7m_common *armv7m = target_to_armv7m(target);
armv7m_trace.c:108handle_itm_ports_command()
struct armv7m_common *armv7m = target_to_armv7m(target);
cfi.c:1784cfi_spansion_write_block()
if (is_armv7m(target_to_armv7m(target))) { /* armv7m target */
cfi.c:1804cfi_spansion_write_block()
if (is_armv7m(target_to_armv7m(target))) {
cfi.c:1814cfi_spansion_write_block()
if (is_armv7m(target_to_armv7m(target))) {
cfi.c:1824cfi_spansion_write_block()
if (is_armv7m(target_to_armv7m(target))) {
cfi.c:1835cfi_spansion_write_block()
if (is_armv7m(target_to_armv7m(target))) {
chibios.c:233chibios_update_stacking()
struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target);
cortex_m.c:165cortex_m_read_dhcsr_atomic_sticky()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:180cortex_m_load_core_reg_u32()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:234cortex_m_slow_read_all_regs()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:259cortex_m_queue_reg_read()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:276cortex_m_fast_read_all_regs()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:402cortex_m_store_core_reg_u32()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:734cortex_m_examine_exception_reason()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:1306cortex_m_restore_one()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:1399cortex_m_restart_one()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:1755cortex_m_reset_lpc55sx_using_dm_ap()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:1780cortex_m_reset_lpc55sx()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2395cortex_m_read_memory()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2409cortex_m_write_memory()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2431cortex_m_deinit_target()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2449cortex_m_profiling()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2702cortex_m_has_tz()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2743cortex_m_examine()
struct armv7m_common *armv7m = target_to_armv7m(target);
cortex_m.c:2956cortex_m_dcc_read()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:215adapter_load_context()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:231adapter_debug_entry()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:290adapter_poll()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:333hl_assert_reset()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:443adapter_resume()
struct armv7m_common *armv7m = target_to_armv7m(target);
hla_target.c:533adapter_step()
struct armv7m_common *armv7m = target_to_armv7m(target);
numicro.c:545numicro_get_arm_arch()
struct armv7m_common *armv7m = target_to_armv7m(target);
nuttx.c:123cortexm_hasfpu()
struct armv7m_common *armv7m_target = target_to_armv7m(target);
psoc4.c:311psoc4_sysreq()
struct armv7m_common *armv7m = target_to_armv7m(target);
psoc6.c:226ipc_poll_lock_stat()
struct armv7m_common *armv7m = target_to_armv7m(target);
psoc6.c:891handle_reset_halt()
struct armv7m_common *armv7m = target_to_armv7m(target);
psoc6.c:932handle_reset_halt()
const struct armv7m_common *cm = target_to_armv7m(target);
psoc6.c:992psoc6_handle_reset_to_entry()
const struct armv7m_common *cm = target_to_armv7m(target);
riot.c:406riot_create()
struct armv7m_common *armv7m_target = target_to_armv7m(target);
rtkernel.c:300rtkernel_get_thread_reg_list()
struct armv7m_common *armv7m_target = target_to_armv7m(rtos->target);
stm32lx.c:500stm32lx_write_half_pages()
struct armv7m_common *armv7m = target_to_armv7m(target);
stm32lx.c:720stm32lx_read_id_code()
struct armv7m_common *armv7m = target_to_armv7m(target);

Call Tree

Data read by target_to_armv7m()
target_to_armv7m()::__mptr
all items filtered out
target_to_armv7m()
Type of target_to_armv7m()
target_to_armv7m()
all items filtered out