grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / kernel / getcpunumber.c
blobc54d02eb7bd5d2fa0e3b0e5a0298d4b0c6e40a5d
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, 37, 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