2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
8 #include <aros/kernel.h>
9 #include <exec/execbase.h>
10 #include <proto/exec.h>
12 #include "kernel_intern.h"
14 #include <proto/kernel.h>
16 AROS_LH1(intptr_t, KrnGetSystemAttr
,
17 AROS_LHA(uint32_t, id
, D0
),
18 struct KernelBase
*, KernelBase
, 29, Kernel
)
24 case KATTR_Architecture
:
25 return (intptr_t)"arm-raspi";
27 case KATTR_PeripheralBase
:
28 return (intptr_t)__arm_arosintern
.ARMI_PeripheralBase
;
30 case KATTR_AffinityMask
:
31 return (intptr_t)__arm_arosintern
.ARMI_AffinityMask
;