2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id: disable.c 21505 2004-04-11 19:44:09Z stegerg $
5 Desc: i386unix version of Disable()
9 #include <exec/tasks.h>
10 #include <exec/execbase.h>
11 #include <aros/libcall.h>
12 #include <aros/atomic.h>
13 #include <proto/exec.h>
14 #include <proto/kernel.h>
21 AROS_LH0(void, Disable
,
22 struct ExecBase
*, SysBase
, 20, Exec
)
26 void *KernelBase
= TLS_GET(KernelBase
);
32 AROS_ATOMIC_INC(SysBase
->IDNestCnt
);