Enable FIQ interrupt handling on BCM mailboxes. Each CPU core has four of them and...
[AROS.git] / arch / arm-native / kernel / mapglobal.c
blob73c782e5dd14df936afb32b6f23133a622cea4c9
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_LH4I(int, KrnMapGlobal,
15 AROS_LHA(void *, virtual, A0),
16 AROS_LHA(void *, physical, A1),
17 AROS_LHA(uint32_t, length, D0),
18 AROS_LHA(KRN_MapAttr, flags, D1),
19 struct KernelBase *, KernelBase, 16, Kernel)
21 AROS_LIBFUNC_INIT
23 int retval = 0;
25 D(bug("[KRN] KrnMapGlobal(%08x->%08x %08x %04x)\n", virtual, physical, length, flags));
27 return retval;
29 AROS_LIBFUNC_EXIT