2 Copyright © 2017, The AROS Development Team. All rights reserved.
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
11 #include <kernel_base.h>
13 /*****************************************************************************
16 #include <proto/kernel.h>
18 AROS_LH2(BOOL
, KrnCPUInMask
,
21 AROS_LHA(uint32_t, id
, D0
),
22 AROS_LHA(void *, mask
, A0
),
25 struct KernelBase
*, KernelBase
, 46, Kernel
)
28 Test if the CPU number is enabled in the mask.
31 CPU number (as returned by KrnGetCPUNumber())
32 Affinity Mask (as returned by KrnAllocCPUMask())
35 TRUE or FALSE if the CPU exists in the mask.
44 KrnGetCPUNumber(), KrnAllocCPUMask(), KrnClearCPUMask(), KrnGetCPUMask()
48 ******************************************************************************/
52 /* The actual implementation is entirely architecture-specific */