/**************************************************************************/ /* */ /* */ /* */ /* EXCEPTION HANDLER / CHIP STACK */ /* ========================================== */ /* */ /* */ /* MODULE : Exception */ /* NOM : EIEndHan.c */ /* FONCTION : */ /* */ /* RESPONSABLE : HEWES Gerald */ /* TEL : 33 (1) 46 24 20 27 */ /* */ /**************************************************************************/ /**************************************************************************/ /* */ /* HEW 880310 Ver 0.1 : First Soft Version */ /* HEW 880324 Ver 0.2 : Handle 68000 exceptions */ /* HEW 880413 Ver 0.3 : Handle 680X0 Formats */ /* HEW 880508 Ver 0.4 : First Released version : routines split */ /* Major name changes for better homogeneity */ /* HEW 880517 Ver 0.5 : include change. No more puts in library */ /* HEW 880605 Ver 0.6 : Disable/Enable Function + Prototypes */ /* */ /**************************************************************************/ #include #include "local:excption.h" #include #include #include extern E_ErrorStatus E_global; /* Declaration of Necessary Data */ /***************************** CODE ***************************************/ /************************************************/ /* End of Trap Handler */ /************************************************/ extern void EIEndHandler(trapnumber) ExcpClass trapnumber; /* Exception number Motorola 680x0 */ { struct Task *taskloc; taskloc = (struct Task *)FindTask(0); /* Get Task Info */ EIRaise((E_ErrorStatus *)taskloc->tc_TrapData,trapnumber); } /************************* CIVILISATION ENDS HERE ***********************/