OpenOCD
cortex_a.h File Reference
Include dependency graph for cortex_a.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cortex_a_brp
 
struct  cortex_a_common
 
struct  cortex_a_wrp
 

Macros

#define BRP_CONTEXT   1
 
#define BRP_NORMAL   0
 
#define CORTEX_A15_PARTNUM   0xc0f
 
#define CORTEX_A5_PARTNUM   0xc05
 
#define CORTEX_A7_PARTNUM   0xc07
 
#define CORTEX_A8_PARTNUM   0xc08
 
#define CORTEX_A9_PARTNUM   0xc09
 
#define CORTEX_A_COMMON_MAGIC   0x411fc082U
 
#define CORTEX_A_MIDR_PARTNUM_MASK   0x0000fff0
 
#define CORTEX_A_MIDR_PARTNUM_SHIFT   4
 
#define CORTEX_A_PADDRDBG_CPU_SHIFT   13
 
#define CPUDBG_CPUID   0xD00
 
#define CPUDBG_CTYPR   0xD04
 
#define CPUDBG_LOCKACCESS   0xFB0
 
#define CPUDBG_LOCKSTATUS   0xFB4
 
#define CPUDBG_OSLAR_LK_MASK   (1 << 1)
 
#define CPUDBG_TTYPR   0xD0C
 

Enumerations

enum  cortex_a_dacrfixup_mode { CORTEX_A_DACRFIXUP_OFF , CORTEX_A_DACRFIXUP_ON }
 
enum  cortex_a_isrmasking_mode { CORTEX_A_ISRMASK_OFF , CORTEX_A_ISRMASK_ON }
 

Functions

static struct cortex_a_commontarget_to_cortex_a (struct target *target)
 

Macro Definition Documentation

◆ BRP_CONTEXT

#define BRP_CONTEXT   1

Definition at line 40 of file cortex_a.h.

◆ BRP_NORMAL

#define BRP_NORMAL   0

Definition at line 39 of file cortex_a.h.

◆ CORTEX_A15_PARTNUM

#define CORTEX_A15_PARTNUM   0xc0f

Definition at line 28 of file cortex_a.h.

◆ CORTEX_A5_PARTNUM

#define CORTEX_A5_PARTNUM   0xc05

Definition at line 24 of file cortex_a.h.

◆ CORTEX_A7_PARTNUM

#define CORTEX_A7_PARTNUM   0xc07

Definition at line 25 of file cortex_a.h.

◆ CORTEX_A8_PARTNUM

#define CORTEX_A8_PARTNUM   0xc08

Definition at line 26 of file cortex_a.h.

◆ CORTEX_A9_PARTNUM

#define CORTEX_A9_PARTNUM   0xc09

Definition at line 27 of file cortex_a.h.

◆ CORTEX_A_COMMON_MAGIC

#define CORTEX_A_COMMON_MAGIC   0x411fc082U

Definition at line 22 of file cortex_a.h.

◆ CORTEX_A_MIDR_PARTNUM_MASK

#define CORTEX_A_MIDR_PARTNUM_MASK   0x0000fff0

Definition at line 29 of file cortex_a.h.

◆ CORTEX_A_MIDR_PARTNUM_SHIFT

#define CORTEX_A_MIDR_PARTNUM_SHIFT   4

Definition at line 30 of file cortex_a.h.

◆ CORTEX_A_PADDRDBG_CPU_SHIFT

#define CORTEX_A_PADDRDBG_CPU_SHIFT   13

Definition at line 42 of file cortex_a.h.

◆ CPUDBG_CPUID

#define CPUDBG_CPUID   0xD00

Definition at line 32 of file cortex_a.h.

◆ CPUDBG_CTYPR

#define CPUDBG_CTYPR   0xD04

Definition at line 33 of file cortex_a.h.

◆ CPUDBG_LOCKACCESS

#define CPUDBG_LOCKACCESS   0xFB0

Definition at line 35 of file cortex_a.h.

◆ CPUDBG_LOCKSTATUS

#define CPUDBG_LOCKSTATUS   0xFB4

Definition at line 36 of file cortex_a.h.

◆ CPUDBG_OSLAR_LK_MASK

#define CPUDBG_OSLAR_LK_MASK   (1 << 1)

Definition at line 37 of file cortex_a.h.

◆ CPUDBG_TTYPR

#define CPUDBG_TTYPR   0xD0C

Definition at line 34 of file cortex_a.h.

Enumeration Type Documentation

◆ cortex_a_dacrfixup_mode

Enumerator
CORTEX_A_DACRFIXUP_OFF 
CORTEX_A_DACRFIXUP_ON 

Definition at line 49 of file cortex_a.h.

◆ cortex_a_isrmasking_mode

Enumerator
CORTEX_A_ISRMASK_OFF 
CORTEX_A_ISRMASK_ON 

Definition at line 44 of file cortex_a.h.

Function Documentation

◆ target_to_cortex_a()