Use existing core_Cause definition. use syscalls to perform krnCli/Sti.
[AROS.git] / arch / arm-raspi / kernel / cli.c
blob8c0875dde23351323214b62b6e8b6b6b7c9bc907
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, KrnCli,
18 /* SYNOPSIS */
20 /* LOCATION */
21 struct KernelBase *, KernelBase, 9, Kernel)
23 /* FUNCTION
24 Instantly disable 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/Disable().
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 KrnSti()
44 INTERNALS
46 ******************************************************************************/
48 AROS_LIBFUNC_INIT
50 krnSysCall(SC_CLI);
52 AROS_LIBFUNC_EXIT