wip.. store the idletask in TLS. move the execsmp bootstrap code into its own file...
[AROS.git] / arch / arm-native / kernel / getcpumask.c
blob61fa77d61c115d60e32d6a9842577bc34265b274
1 /*
2 Copyright © 2015, 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 AROS_LH1(uint32_t, KrnGetCPUMask,
14 AROS_LHA(uint32_t, id, D0),
15 struct KernelBase *, KernelBase, 38, Kernel)
17 AROS_LIBFUNC_INIT
19 return (1 << id);
21 AROS_LIBFUNC_EXIT