2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include <exec/execbase.h>
7 #include <proto/exec.h>
9 /******************************************************************************
12 #include <proto/exec.h>
14 AROS_LH0(void, Permit,
17 struct ExecBase *, SysBase, 23, Exec)
20 This function activates the dispatcher again after a call to Permit().
29 This function preserves all registers.
36 Forbid(), Disable(), Enable()
42 ******************************************************************************/
44 /* The real function is written in assembler as stub which calls me */
45 void _Permit (struct ExecBase
* SysBase
)
47 if ((--SysBase
->TDNestCnt
) < 0
48 && (SysBase
->AttnResched
& 0x80)
49 && SysBase
->IDNestCnt
< 0
52 SysBase
->AttnResched
&= ~0x80;