add sdcard to raspi BE kernel
[AROS.git] / rom / kernel / getcpumask.c
blob4173718b157fdcebbbbb68bfd8140eb06b992c6e
1 /*
2 Copyright © 2015-2017, 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_LH2(void, KrnGetCPUMask,
20 /* SYNOPSIS */
21 AROS_LHA(uint32_t, id, D0),
22 AROS_LHA(void *, mask, A0),
24 /* LOCATION */
25 struct KernelBase *, KernelBase, 45, Kernel)
27 /* FUNCTION
28 Set the CPU number's bit in the mask.
30 INPUTS
31 CPU number (as returned by KrnGetCPUNumber())
32 Affinity Mask (as returned by KrnAllocCPUMask())
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 KrnGetCPUNumber(), KrnAllocCPUMask(), KrnClearCPUMask(), KrnCPUInMask()
45 INTERNALS
47 ******************************************************************************/
49 AROS_LIBFUNC_INIT
51 /* The actual implementation is entirely architecture-specific */
52 return;
54 AROS_LIBFUNC_EXIT