Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / i386-pc / exec / disable.c
blob4b8f78b76ff2b0c2ded1f5f8b5312ad14da57ece
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>
15 #undef Exec
16 #ifdef UseExecstubs
17 # define Exec _Exec
18 #endif
20 AROS_LH0(void, Disable,
21 struct ExecBase *, SysBase, 20, Exec)
23 #undef Exec
24 AROS_LIBFUNC_INIT
26 /* Georg Steger */
28 __asm__ __volatile__ ("cli");
30 AROS_ATOMIC_INC(SysBase->IDNestCnt);
32 AROS_LIBFUNC_EXIT