Use existing core_Cause definition. use syscalls to perform krnCli/Sti.
[AROS.git] / arch / arm-raspi / kernel / sti.c
blob22d79156ee58a8f6dd761be2404547525d999a49
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
8 #include <kernel_base.h>
9 #include <kernel_syscall.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/kernel.h>
16 AROS_LH0I(void, KrnSti,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct KernelBase *, KernelBase, 10, Kernel)
23 /* FUNCTION
24 Instantly enable interrupts.
26 INPUTS
27 None
29 RESULT
30 None
32 NOTES
33 This is low level function, it does not have nesting count
34 and state tracking mechanism. It operates directly on the CPU.
35 Normal applications should consider using exec.library/Enable().
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 KrnCli()
44 INTERNALS
46 ******************************************************************************/
48 AROS_LIBFUNC_INIT
50 krnSysCall(SC_STI);
52 AROS_LIBFUNC_EXIT