Enable FIQ interrupt handling on BCM mailboxes. Each CPU core has four of them and...
[AROS.git] / arch / arm-native / kernel / spintrylock.c
blob5d31665a9c424eff5f24ba0c0285ff829e550706
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/types/spinlock_s.h>
7 #include <aros/kernel.h>
8 #include <aros/libcall.h>
10 #include <kernel_base.h>
12 #include <proto/kernel.h>
14 AROS_LH2(spinlock_t *, KrnSpinTryLock,
15 AROS_LHA(spinlock_t *, lock, A0),
16 AROS_LHA(ULONG, mode, D0),
17 struct KernelBase *, KernelBase, 42, Kernel)
19 AROS_LIBFUNC_INIT
21 return lock;
23 AROS_LIBFUNC_EXIT