1 #ifndef __EXCONTEXT_H__
2 #define __EXCONTEXT_H__
4 #define NUM_EXCEPTIONS 15
7 #define EX_MACH_CHECK 1
22 #ifndef _LANGUAGE_ASSEMBLY
28 #endif /* __cplusplus */
30 typedef struct _excption_frame
{
35 u32 CR
, LR
, CTR
, XER
, MSR
, DAR
;
37 u16 state
; //used to determine whether to restore the fpu context or not
48 #endif /* __cplusplus */
50 #endif //!_LANGUAGE_ASSEMBLY