2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <exec/execbase.h>
7 #include <clib/exec_protos.h>
10 void exception(struct ExecBase
*SysBase
)
12 struct Task
*me
=SysBase
->ThisTask
;
16 me
->tc_Flags
&=~TF_EXCEPT
;
17 idn
=SysBase
->IDNestCnt
;
21 sig
=me
->tc_SigExcept
&me
->tc_SigRecvd
;
24 me
->tc_SigExcept
^=sig
;
25 me
->tc_SigRecvd
^=sig
;
26 data
=me
->tc_ExceptData
;
28 sig
=((ULONG(*)(ULONG
,APTR
,struct ExecBase
*))me
->tc_ExceptCode
)
31 me
->tc_SigExcept
|=sig
;
33 SysBase
->IDNestCnt
=idn
;