X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farmv7a.h;h=7d9abf10f92ae6b6d015324b44c427f1320287f6;hb=refs%2Fchanges%2F88%2F3488%2F3;hp=3f2bdd34c71dea7400461522ffe2151daf12b521;hpb=cd1a345267d2d27c02dc04c0e857be3dfe48fc1c;p=openocd.git diff --git a/src/target/armv7a.h b/src/target/armv7a.h index 3f2bdd34c7..7d9abf10f9 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -12,9 +12,7 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ #ifndef ARMV7A_H @@ -92,7 +90,6 @@ struct armv7a_mmu_common { uint32_t ttbcr; /* cache for ttbcr register */ uint32_t ttbr_mask[2]; uint32_t ttbr_range[2]; - uint32_t os_border; int (*read_physical_memory)(struct target *target, uint32_t address, uint32_t size, uint32_t count, uint8_t *buffer); @@ -105,13 +102,11 @@ struct armv7a_common { int common_magic; struct reg_cache *core_cache; - struct adiv5_dap dap; - /* Core Debug Unit */ struct arm_dpm dpm; uint32_t debug_base; - uint8_t debug_ap; - uint8_t memory_ap; + struct adiv5_ap *debug_ap; + struct adiv5_ap *memory_ap; bool memory_ap_available; /* mdir */ uint8_t multi_processor_system; @@ -172,6 +167,7 @@ target_to_armv7a(struct target *target) /* See ARMv7a arch spec section C10.7 */ #define CPUDBG_DSCCR 0x028 +#define CPUDBG_DSMCR 0x02C /* See ARMv7a arch spec section C10.8 */ #define CPUDBG_AUTHSTATUS 0xFB8