2 Copyright © 1995-2013, 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_base.h>
14 /*****************************************************************************
17 #include <proto/kernel.h>
19 AROS_LH1(intptr_t, KrnGetSystemAttr
,
22 AROS_LHA(uint32_t, id
, D0
),
25 struct KernelBase
*, KernelBase
, 29, Kernel
)
28 Get value of internal system attributes.
29 Currently defined attributes are:
31 KATTR_Architecture [.G] (char *) - Name of architecture the kernel built for.
34 id - ID of the attribute to get
37 Value of the attribute
49 ******************************************************************************/
55 case KATTR_Architecture
:
56 return (intptr_t)AROS_ARCHITECTURE
;