1 #include <aros/kernel.h>
2 #include <exec/execbase.h>
3 #include <proto/exec.h>
5 #include <kernel_base.h>
7 /*****************************************************************************
10 #include <proto/kernel.h>
12 AROS_LH1(intptr_t, KrnGetSystemAttr
,
15 AROS_LHA(uint32_t, id
, D0
),
18 struct KernelBase
*, KernelBase
, 29, Kernel
)
21 Get value of internal system attributes.
22 Currently defined attributes are:
24 KATTR_Architecture [.G] (char *) - Name of architecture the kernel built for.
27 id - ID of the attribute to get
30 Value of the attribute
43 ******************************************************************************/
49 case KATTR_Architecture
:
50 return (intptr_t)AROS_ARCHITECTURE
;