Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / kernel / spinislocked.c
blob7f3a35f48cdc1d022aa0951805ce6db543aafa54
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/types/spinlock_s.h>
9 #include <aros/kernel.h>
10 #include <aros/libcall.h>
12 #include <kernel_base.h>
14 /*****************************************************************************
16 NAME */
17 #include <proto/kernel.h>
19 AROS_LH1(int, KrnSpinIsLocked,
21 /* SYNOPSIS */
22 AROS_LHA(spinlock_t *, lock, A0),
24 /* LOCATION */
25 struct KernelBase *, KernelBase, 41, Kernel)
27 /* FUNCTION
29 INPUTS
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
41 INTERNALS
43 ******************************************************************************/
45 AROS_LIBFUNC_INIT
47 /* The implementation of this function is architecture-specific */
48 return 0;
50 AROS_LIBFUNC_EXIT