revert between 56095 -> 55830 in arch
[AROS.git] / arch / arm-native / kernel / setprotection.c
blob8e511e0128116f99f8c9f6b2369b261e9a56a7b1
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