Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / kernel / mapglobal.c
blob747a3937f2cb5069d2983756b3770588900eef5c
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
11 #include <kernel_base.h>
13 /*****************************************************************************
15 NAME */
16 #include <proto/kernel.h>
18 AROS_LH4I(int, KrnMapGlobal,
20 /* SYNOPSIS */
21 AROS_LHA(void *, virtual, A0),
22 AROS_LHA(void *, physical, A1),
23 AROS_LHA(uint32_t, length, D0),
24 AROS_LHA(KRN_MapAttr, flags, D1),
26 /* LOCATION */
27 struct KernelBase *, KernelBase, 16, Kernel)
29 /* FUNCTION
31 INPUTS
33 RESULT
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 ******************************************************************************/
47 AROS_LIBFUNC_INIT
49 return 0;
51 AROS_LIBFUNC_EXIT