X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fcortex_a.h;h=d33188ffcff98eb8557f696d19c556e90c7f1e2c;hb=4a7bb931e37e54e8b0cd9d3a6b41c693d1042106;hp=043d96f92c183b52edccea0275fab36241d3c9b6;hpb=e519099ab7fac4517eaee7dde3275e7b839460ff;p=openocd.git diff --git a/src/target/cortex_a.h b/src/target/cortex_a.h index 043d96f92c..d33188ffcf 100644 --- a/src/target/cortex_a.h +++ b/src/target/cortex_a.h @@ -35,6 +35,8 @@ #define CORTEX_A_COMMON_MAGIC 0x411fc082 #define CORTEX_A15_COMMON_MAGIC 0x413fc0f1 +#define CORTEX_A5_PARTNUM 0xc05 +#define CORTEX_A7_PARTNUM 0xc07 #define CORTEX_A8_PARTNUM 0xc08 #define CORTEX_A9_PARTNUM 0xc09 #define CORTEX_A15_PARTNUM 0xc0f @@ -53,6 +55,11 @@ #define CORTEX_A_PADDRDBG_CPU_SHIFT 13 +enum cortex_a_isrmasking_mode { + CORTEX_A_ISRMASK_OFF, + CORTEX_A_ISRMASK_ON, +}; + struct cortex_a_brp { int used; int type; @@ -63,7 +70,6 @@ struct cortex_a_brp { struct cortex_a_common { int common_magic; - struct arm_jtag jtag_info; /* Context information */ uint32_t cpudbg_dscr; @@ -89,6 +95,8 @@ struct cortex_a_common { uint32_t ttypr; uint32_t didr; + enum cortex_a_isrmasking_mode isrmasking_mode; + struct armv7a_common armv7a_common; };