cleanup debug
[AROS.git] / arch / arm-native / kernel / setprotection.c
blobe49fd2f166179c1f382f3b4d6a0f86db041789d7
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
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)
20 AROS_LIBFUNC_INIT
22 D(bug("[Kernel] KrnSetProtection(%08x, %08x, %04x)\n", address, address + length - 1, flags));
24 AROS_LIBFUNC_EXIT