2 Copyright © 2015, The AROS Development Team. All rights reserved.
6 #include <aros/kernel.h>
7 #include <aros/libcall.h>
9 #include "kernel_base.h"
10 #include "kernel_intern.h"
12 AROS_LH0(unsigned int, KrnGetCPUCount
,
13 struct KernelBase
*, KernelBase
, 36, Kernel
)
17 uint32_t count
= 0, mask
;
19 for (mask
= __arm_affinitymask
; mask
> 0 ; mask
>> 1)