From d59b9a5172b31b3ab3fb60e7f6bf7af6cf7caf91 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Sat, 9 Jul 2011 07:42:28 +0800 Subject: added preliminary abort exception support --- Debugger/debug_internals.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Debugger') 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__ */ -- cgit v1.2.3