Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / kernel / schedule.c
blob917b1ef2e2f6511beed9c52bef9ee709bb3dae31
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
10 #include <kernel_base.h>
11 #include <kernel_syscall.h>
13 /*****************************************************************************
15 NAME */
16 #include <proto/kernel.h>
18 AROS_LH0(void, KrnSchedule,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct KernelBase *, KernelBase, 6, Kernel)
25 /* FUNCTION
26 Run task scheduling sequence
28 INPUTS
29 None
31 RESULT
32 None
34 NOTES
35 This entry point directly calls task scheduling routine
36 in supervisor mode. It neither performs any checks of caller status
37 nor obeys interrupt enable state.
39 This function is safe to call only from within user mode.
40 This function is considered internal, and not meant to be called
41 by user's software.
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 ******************************************************************************/
53 AROS_LIBFUNC_INIT
55 krnSysCall(SC_SCHEDULE);
57 AROS_LIBFUNC_EXIT