cortex_a: force cache and tlb bypass when cpu is in debug state
for minimal impact on the hardware state, force all memory accesses to bypass the caches and tlbs. This may actually be the default, but ARM recommends in DDI0406C to set proper default values on debug init. Change-Id: If5ac097b6ee725c047b1e86c2f90eabe16b98c7b Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de> Reviewed-on: http://openocd.zylin.com/3079 Reviewed-by: Paul Fertser <fercerpav@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Paul Fertser
parent
6d7f5be6ac
commit
442e2506b1
@@ -172,6 +172,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
|
||||
|
||||
Reference in New Issue
Block a user