diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h b/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h index 8b871d74e1..101f46f121 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/vectors.h @@ -128,9 +128,16 @@ typedef struct { unsigned EXC_LR; unsigned EXC_MSR; unsigned EXC_DAR; -} exception_frame; +}BSP_Exception_frame; -extern void C_exception_handler(exception_frame* excPtr); + +typedef void (*exception_handler_t) (BSP_Exception_frame* excPtr); +extern exception_handler_t globalExceptHdl; +/* + * Compatibility with pc386 + */ +typedef BSP_Exception_frame CPU_Exception_frame; +typedef exception_handler_t cpuExcHandlerType; #endif /* ASM */ |