summaryrefslogtreecommitdiff
path: root/src/target/armv7a.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-24 21:24:44 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-24 21:24:44 -0800
commitc008d30fe85a674842632e32d732e22e0a91b95d (patch)
treea2de30f8dd613f9347980406fef10e58563849b6 /src/target/armv7a.h
parent991daa03ebbc69829be4a3899b77efb981254038 (diff)
downloadopenocd+libswd-c008d30fe85a674842632e32d732e22e0a91b95d.tar.gz
openocd+libswd-c008d30fe85a674842632e32d732e22e0a91b95d.tar.bz2
openocd+libswd-c008d30fe85a674842632e32d732e22e0a91b95d.tar.xz
openocd+libswd-c008d30fe85a674842632e32d732e22e0a91b95d.zip
Cortex-A8: implement DPM
This implements the DPM interface for Cortex-A8 cores. It also adds a synchronization operation to the DPM framework, which is needed by the Cortex-A8 after CPSR writes. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/armv7a.h')
-rw-r--r--src/target/armv7a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/armv7a.h b/src/target/armv7a.h
index 51f7b45a..942bf8bf 100644
--- a/src/target/armv7a.h
+++ b/src/target/armv7a.h
@@ -23,6 +23,7 @@
#include "armv4_5.h"
#include "armv4_5_mmu.h"
#include "armv4_5_cache.h"
+#include "arm_dpm.h"
enum
{
@@ -53,6 +54,7 @@ struct armv7a_common
struct swjdp_common swjdp_info;
/* Core Debug Unit */
+ struct arm_dpm dpm;
uint32_t debug_base;
uint8_t debug_ap;
uint8_t memory_ap;