Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / m68k-mac / exec / disable.c
blobb67fa213e66ff24ae8876a03e38e453ad80a2ccf
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Disable() - Stop interrupts from occurring.
6 Lang: english
7 */
9 #include <exec/types.h>
10 #include <exec/execbase.h>
11 #include <aros/libcall.h>
12 #include <asm/registers.h>
14 #undef Exec
15 #ifdef UseExecstubs
16 # define Exec _Exec
17 #endif
19 #include <proto/exec.h>
21 /* See rom/exec/disable.c for documentation */
23 AROS_LH0(void, Disable,
24 struct ExecBase *, SysBase, 20, Exec)
26 #undef Exec
28 AROS_LIBFUNC_INIT
31 * Disable interrupts by masking all interrupts.
33 SetSR(0x700,0x700);
35 SysBase->IDNestCnt++;
37 AROS_LIBFUNC_EXIT
38 } /* Disable() */