1 #include <kernel_base.h>
3 /*****************************************************************************
6 #include <proto/kernel.h>
8 AROS_LH2(int, KrnSetSystemAttr
,
11 AROS_LHA(uint32_t, id
, D0
),
12 AROS_LHA(intptr_t, val
, D1
),
15 struct KernelBase
*, KernelBase
, 30, Kernel
)
18 Set values of internal system attributes
21 id - ID of the attribute to set. See KrnGetAttr() description for the
22 list of attributes and their meaning.
23 val - New value of the attribute
26 Zero for success and nonzero for failure (unknown or read-only attribute or
30 Kernel attributes control various aspects of kernel's low-level functions.
31 The exact semantics of each attribute may vary from system to system.
32 Not all systems support all attributes.
34 Please do not alter these attributes from within user software, this will
35 not do any good things. This function is provided mainly for use by
36 other system components which exactly know what they do.
47 ******************************************************************************/
54 case KATTR_VBlankEnable
:
55 KernelBase
->kb_VBlankEnable
= val
;