Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / kernel / setprotection.c
blobcfdcc30cbafc6adc37f2993b819925d5037f80db
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_LH3I(void, KrnSetProtection,
20 /* SYNOPSIS */
21 AROS_LHA(void *, address, A0),
22 AROS_LHA(uint32_t, length, D0),
23 AROS_LHA(KRN_MapAttr, flags, D1),
25 /* LOCATION */
26 struct KernelBase *, KernelBase, 21, Kernel)
28 /* FUNCTION
30 INPUTS
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 ******************************************************************************/
46 AROS_LIBFUNC_INIT
48 AROS_LIBFUNC_EXIT