0b8128dd0c250fb08e50d8c9cfb028a16083a2e6
[AROS.git] / arch / m68k-amiga / kernel / sti.c
blob0b8128dd0c250fb08e50d8c9cfb028a16083a2e6
1 #include <aros/kernel.h>
2 #include <aros/libcall.h>
4 #include <kernel_base.h>
6 /*****************************************************************************
8 NAME */
9 #include <proto/kernel.h>
11 AROS_LH0I(void, KrnSti,
13 /* SYNOPSIS */
15 /* LOCATION */
16 struct KernelBase *, KernelBase, 10, Kernel)
18 /* FUNCTION
19 Instantly enable interrupts.
21 INPUTS
22 None
24 RESULT
25 None
27 NOTES
28 This is low level function, it does not have nesting count
29 and state tracking mechanism. It operates directly on the CPU.
30 Normal applications should consider using exec.library/Enable().
32 EXAMPLE
34 BUGS
36 SEE ALSO
37 KrnCli()
39 INTERNALS
41 ******************************************************************************/
43 AROS_LIBFUNC_INIT
45 asm volatile ("move.w #0xc000,0xdff09a\n");
47 AROS_LIBFUNC_EXIT