Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / m68k-mac / exec / enable.c
blob23ce07115673f383b034aea784a22ebab317a39f
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Enable() - Allow interrupts to occur after Disable().
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 #define DEBUG 1
15 #include <aros/debug.h>
17 #undef Exec
18 #ifdef UseExecstubs
19 # define Exec _Exec
20 #endif
22 #include <proto/exec.h>
24 /* See rom/exec/enable.c for documentation */
26 AROS_LH0(void, Enable,
27 struct ExecBase *, SysBase, 21, Exec)
29 #undef Exec
31 AROS_LIBFUNC_INIT
33 if( --SysBase->IDNestCnt < 0) {
35 * Enable interrupt by allowing all of them.
37 SetSR(0,0x700);
40 AROS_LIBFUNC_EXIT
41 } /* Enable() */