188a2dbf97aab066d027a7a1486f71f19a939374
[AROS.git] / arch / m68k-amiga / kernel / dispatch.c
blob188a2dbf97aab066d027a7a1486f71f19a939374
1 #include <aros/kernel.h>
3 #include <kernel_base.h>
4 #include <kernel_syscall.h>
6 /*****************************************************************************
8 NAME */
9 #include <proto/kernel.h>
11 AROS_LH0(void, KrnDispatch,
13 /* SYNOPSIS */
15 /* LOCATION */
16 struct KernelBase *, KernelBase, 4, Kernel)
18 /* FUNCTION
19 Run the next available task
21 INPUTS
22 None
24 RESULT
25 None
27 NOTES
28 This entry point directly calls task dispatch routine in supervisor mode.
29 It neither performs any checks of caller status nor obeys interrupt enable
30 state. After calling this function, caller's task will be replaced by
31 another one, and caller's state will be lost.
33 This function is safe to call only from within user mode.
34 This function is considered internal, and not meant to be called
35 by user's software.
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 ******************************************************************************/
47 AROS_LIBFUNC_INIT
49 Supervisor(Dispatch_wapper);
51 AROS_LIBFUNC_EXIT