17 #ifndef OPENOCD_TARGET_CORTEX_A_H
18 #define OPENOCD_TARGET_CORTEX_A_H
22 #define CORTEX_A_COMMON_MAGIC 0x411fc082U
24 #define CORTEX_A5_PARTNUM 0xc05
25 #define CORTEX_A7_PARTNUM 0xc07
26 #define CORTEX_A8_PARTNUM 0xc08
27 #define CORTEX_A9_PARTNUM 0xc09
28 #define CORTEX_A15_PARTNUM 0xc0f
29 #define CORTEX_A_MIDR_PARTNUM_MASK 0x0000fff0
30 #define CORTEX_A_MIDR_PARTNUM_SHIFT 4
32 #define CPUDBG_CPUID 0xD00
33 #define CPUDBG_CTYPR 0xD04
34 #define CPUDBG_TTYPR 0xD0C
35 #define CPUDBG_LOCKACCESS 0xFB0
36 #define CPUDBG_LOCKSTATUS 0xFB4
37 #define CPUDBG_OSLAR_LK_MASK (1 << 1)
42 #define CORTEX_A_PADDRDBG_CPU_SHIFT 13
arm_mode
Represent state of an ARM core.
static struct cortex_a_common * target_to_cortex_a(struct target *target)
struct cortex_a_wrp * wrp_list
struct cortex_a_brp * brp_list
uint32_t cp15_control_reg_curr
enum cortex_a_dacrfixup_mode dacrfixup_mode
unsigned int common_magic
enum cortex_a_isrmasking_mode isrmasking_mode
uint32_t cp15_control_reg
uint32_t cp15_aux_control_reg
#define container_of(ptr, type, member)
Cast a member of a structure out to the containing structure.