2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #include <exec/execbase.h>
10 #include <proto/exec.h>
14 void _os_enable (void);
15 extern int supervisor
;
17 /******************************************************************************
20 AROS_LH0(void, Enable,
23 struct ExecBase *, SysBase, 21, Exec)
43 ******************************************************************************/
45 void _Enable (struct ExecBase
* SysBase
)
47 if (--SysBase
->IDNestCnt
< 0)
51 if ((SysBase
->AttnResched
& 0x80)
52 || SysBase
->TDNestCnt
>= 0
55 SysBase
->AttnResched
&= ~0x80;
62 void _os_enable (void)
68 fprintf (stderr, "Enable() called in supervisor mode\n");
73 sigprocmask (SIG_UNBLOCK
, &set
, NULL
);