summaryrefslogtreecommitdiff
path: root/Debugger
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-07-09 07:42:28 +0800
committerTat-Chee Wan (USM)2011-07-09 07:42:28 +0800
commitd59b9a5172b31b3ab3fb60e7f6bf7af6cf7caf91 (patch)
tree0a72263d00bc9876db2567723464eff0abb885bc /Debugger
parent1485242af0a92d0c17e99973ee28364b7adedce6 (diff)
added preliminary abort exception support
Diffstat (limited to 'Debugger')
-rw-r--r--Debugger/debug_internals.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Debugger/debug_internals.h b/Debugger/debug_internals.h
index adb5497..91a55cb 100644
--- a/Debugger/debug_internals.h
+++ b/Debugger/debug_internals.h
@@ -292,6 +292,8 @@ ENUM_VAL(DBG_MANUAL_BKPT_ARM) /**< Manual ARM Breakpoint. */
ENUM_VAL(DBG_NORMAL_BKPT_ARM) /**< Normal ARM Breakpoint (Single Step, Normal). */
ENUM_VAL(DBG_MANUAL_BKPT_THUMB) /**< Manual Thumb Breakpoint. */
ENUM_VAL(DBG_NORMAL_BKPT_THUMB) /**< Normal Thumb Breakpoint (Single Step, Normal). */
+ENUM_VAL(DBG_ABORT_PREFETCH) /**< Prefetch Abort. */
+ENUM_VAL(DBG_ABORT_DATA) /**< Data Abort. */
ENUM_END(bkpt_type_t)
/** Debugger Message Error Enums
@@ -337,5 +339,17 @@ ENUM_VAL(REG_CPSR) /**< Previous Mode CPSR */
ENUM_END(register_enum_t)
+/** Abort Type Enums
+ *
+ * Abort Type used for interfacing with LCD Display routine.
+ * The enums must be consecutive, starting from 0
+ * Note: The values must align with those defined in NxOS's _abort.h
+ */
+ENUM_BEGIN
+ENUM_VALASSIGN(ABORT_PREFETCH,0) /**< Prefetch Abort. */
+ENUM_VAL(ABORT_DATA) /**< Data Abort. */
+ENUM_VAL(ABORT_SPURIOUS) /**< Spurious IRQ. */
+ENUM_VAL(ABORT_ILLEGAL) /**< Illegal Instruction. */
+ENUM_END(abort_type_t)
#endif /* __DEBUG_INTERNALS_H__ */