summaryrefslogtreecommitdiff
path: root/src/target/arm_dpm.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-03 16:08:04 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-03 16:08:04 -0800
commit6eee0729d79eab496d1d4368a2bae7e4e2d19876 (patch)
tree0e6de2e7d924dc3d03861eb916bdfbce47e3d0b1 /src/target/arm_dpm.h
parenteb6c880ddcb06cb011ebd4557d9057d04ab9b4fb (diff)
downloadopenocd+libswd-6eee0729d79eab496d1d4368a2bae7e4e2d19876.tar.gz
openocd+libswd-6eee0729d79eab496d1d4368a2bae7e4e2d19876.tar.bz2
openocd+libswd-6eee0729d79eab496d1d4368a2bae7e4e2d19876.tar.xz
openocd+libswd-6eee0729d79eab496d1d4368a2bae7e4e2d19876.zip
ARM11: use shared DSCR bit names
For the bits now defined in "arm_dpm.h", switch to the shared DSCR_* symbol and remove the ARM11_DSCR_* version. Define DSCR_INT_DIS and use it instead of the ARM11_DSCR_* sibling symbol. (Note: for both ARM11 and Cortex-A8, this should arguably be enabled by default when single stepping.) Remove some other unused declarations in "arm11.h". Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_dpm.h')
-rw-r--r--src/target/arm_dpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/arm_dpm.h b/src/target/arm_dpm.h
index 1f32e8bc..11213a36 100644
--- a/src/target/arm_dpm.h
+++ b/src/target/arm_dpm.h
@@ -141,6 +141,7 @@ void arm_dpm_report_wfar(struct arm_dpm *, uint32_t wfar);
*/
#define DSCR_CORE_HALTED (1 << 0)
#define DSCR_CORE_RESTARTED (1 << 1)
+#define DSCR_INT_DIS (1 << 11)
#define DSCR_ITR_EN (1 << 13)
#define DSCR_HALT_DBG_MODE (1 << 14)
#define DSCR_MON_DBG_MODE (1 << 15)