aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Debugger/debug_stub.h
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-18 12:52:40 +0800
committerTat-Chee Wan (USM)2011-03-18 12:52:40 +0800
commit52de8367e37b30bb64b86967354acf7d303e5725 (patch)
tree951e890f77bdb77a5555b04e1fae34baf8df6330 /AT91SAM7S256/armdebug/Debugger/debug_stub.h
parent8945b4e00b5122619e3f5b65ae8294d7a50350d8 (diff)
parent51cf36077885f26e325739a60d45f822287a551f (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Debugger/debug_stub.h')
-rw-r--r--AT91SAM7S256/armdebug/Debugger/debug_stub.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/AT91SAM7S256/armdebug/Debugger/debug_stub.h b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
index d70152b..63e3c26 100644
--- a/AT91SAM7S256/armdebug/Debugger/debug_stub.h
+++ b/AT91SAM7S256/armdebug/Debugger/debug_stub.h
@@ -155,6 +155,15 @@
#define CPSR_IRQ 0x00000080
#define CPSR_MODE 0x0000001F
+/* ARM Exception Modes */
+#define MODE_USR 0x10 /* User mode */
+#define MODE_FIQ 0x11 /* FIQ mode */
+#define MODE_IRQ 0x12 /* IRQ mode */
+#define MODE_SVC 0x13 /* Supervisor mode */
+#define MODE_ABT 0x17 /* Abort mode */
+#define MODE_UND 0x1B /* Undefined mode */
+#define MODE_SYS 0x1F /* System mode */
+
/*@}*/
/** @name BKPT suppport constants