refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / kernel / cli.c
blob1219d16bb29224880919c46aafdae5ae8a9f0b25
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/debug.h>
9 #include <aros/kernel.h>
10 #include <aros/libcall.h>
12 #include <kernel_base.h>
14 /*****************************************************************************
16 NAME */
17 #include <proto/kernel.h>
19 AROS_LH0I(void, KrnCli,
21 /* SYNOPSIS */
23 /* LOCATION */
24 struct KernelBase *, KernelBase, 9, Kernel)
26 /* FUNCTION
27 Instantly disable interrupts.
29 INPUTS
30 None
32 RESULT
33 None
35 NOTES
36 This is low level function, it does not have nesting count
37 and state tracking mechanism. It operates directly on the CPU.
38 Normal applications should consider using exec.library/Disable().
40 This function isn't implemented on all platforms.
42 EXAMPLE
44 BUGS
46 SEE ALSO
47 KrnSti()
49 INTERNALS
51 ******************************************************************************/
53 AROS_LIBFUNC_INIT
55 aros_print_not_implemented ("KrnCli");
57 AROS_LIBFUNC_EXIT