target_to_armv7m_safe() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDtarget_to_armv7m_safe()

target_to_armv7m_safe() function

Syntax

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

Arguments

target

Return value

the pointer to the target specific struct or NULL if the magic number does not match. Use in a flash driver or any place where mismatch of the arch_info type can happen.

References

LocationReferrerText
armv7m.h:274
target_to_armv7m_safe(struct target *target)
cortex_m.h:305target_to_cortex_m_safe()
if (!target_to_armv7m_safe(target))
stm32l4x.c:1734stm32l4_read_idcode()
struct armv7m_common *armv7m = target_to_armv7m_safe(target);
stm32l4x.c:1800stm32l4_probe()
struct armv7m_common *armv7m = target_to_armv7m_safe(target);

Call Tree

Functions calling target_to_armv7m_safe()
Functions called by target_to_armv7m_safe()
target_to_armv7m_safe()
Data read by target_to_armv7m_safe()
target_to_armv7m_safe()::armv7m
all items filtered out
target_to_armv7m_safe()
Type of target_to_armv7m_safe()
target_to_armv7m_safe()
all items filtered out