Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / ppc-sam440 / exec / disable.c
blob9d62e5559613143b0f7e676afe69c75342d604bd
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: i386unix version of Disable()
6 Lang: english
7 */
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>
16 #include "../kernel/kernel_intern.h"
18 #undef Exec
19 #ifdef UseExecstubs
20 # define Exec _Exec
21 #endif
23 AROS_LH0(void, Disable,
24 struct ExecBase *, SysBase, 20, Exec)
26 #undef Exec
27 AROS_LIBFUNC_INIT
28 void *KernelBase = getKernelBase();
30 /* Georg Steger */
31 if (KernelBase)
32 KrnCli();
34 AROS_ATOMIC_INC(SysBase->IDNestCnt);
36 AROS_LIBFUNC_EXIT