grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / kernel / getcpucount.c
blobc14855f8c5c3953a9dc96383e565735e1fd25673
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(unsigned int, KrnGetCPUCount,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct KernelBase *, KernelBase, 36, Kernel)
25 /* FUNCTION
26 Return total number of processors in the system
28 INPUTS
29 None
31 RESULT
32 Number of running CPUs in this system
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 AROS_LIBFUNC_INIT
48 /* The implementation of this function is architecture-specific */
49 return 1;
51 AROS_LIBFUNC_EXIT