Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / arm-native / kernel / getsystemattr.c
blobade4a261c707b6965762d33d21981efcbbbd4b10
1 /*
2 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
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)
20 AROS_LIBFUNC_INIT
22 switch (id)
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;
33 default:
34 return -1;
37 AROS_LIBFUNC_EXIT