2 Copyright © 2015, The AROS Development Team. All rights reserved.
6 #include <aros/kernel.h>
7 #include <aros/libcall.h>
9 #include <kernel_base.h>
10 #include <kernel_intern.h>
12 #include <proto/kernel.h>
14 AROS_LH3I(void, KrnSetProtection
,
15 AROS_LHA(void *, address
, A0
),
16 AROS_LHA(uint32_t, length
, D0
),
17 AROS_LHA(KRN_MapAttr
, flags
, D1
),
18 struct KernelBase
*, KernelBase
, 21, Kernel
)
22 D(bug("[Kernel] KrnSetProtection(%08x, %08x, %04x)\n", address
, address
+ length
- 1, flags
));