refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / kernel / getcpunumber.c
blobca941dac807b27a28d4edb55005a8b6526a3b7fd
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
11 #include <kernel_base.h>
13 /*****************************************************************************
15 NAME */
16 #include <proto/kernel.h>
18 AROS_LH0(uint32_t, KrnGetCPUNumber,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct KernelBase *, KernelBase, 41, Kernel)
25 /* FUNCTION
26 Return number of the caller CPU
28 INPUTS
29 None
31 RESULT
32 Number of the CPU on which the function is called
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 AROS_LIBFUNC_INIT
48 /* The actual implementation is entirely architecture-specific */
49 return 0;
51 AROS_LIBFUNC_EXIT