diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-17 12:31:22 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-21 16:38:28 +0100 |
commit | 7e32b62a59ae91d67096c03b592dfd691ab32214 (patch) | |
tree | 94b4398d93cef2f50c804aee0c80100c37708ac9 /c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h | |
parent | libnetworking: Use rtems_clock_get_uptime_seconds (diff) | |
download | rtems-7e32b62a59ae91d67096c03b592dfd691ab32214.tar.bz2 |
score: Add RTEMS_FATAL_SOURCE_POWERPC_EXCEPTION
Add ppc_exc_print_frame_and_context() which prints an exception frame
and the context via printk().
The global exception handler will call now rtems_fatal() with source
RTEMS_FATAL_SOURCE_POWERPC_EXCEPTION. The fatal code will contain the
pointer value to the exception frame.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h')
-rw-r--r-- | c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h index 9ba72db7a8..e62dfbd4f4 100644 --- a/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h +++ b/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors.h @@ -319,7 +319,9 @@ extern exception_handler_t globalExceptHdl; */ void C_exception_handler(BSP_Exception_frame* excPtr); -void BSP_printStackTrace(BSP_Exception_frame *excPtr); +void ppc_exc_print_frame_and_context(const BSP_Exception_frame *excPtr); + +void BSP_printStackTrace(const BSP_Exception_frame *excPtr); /** * @brief Exception categories. |