3 #include <aros/debug.h>
4 #include <aros/kernel.h>
5 #include <aros/libcall.h>
6 #include <exec/execbase.h>
7 #include <hardware/intbits.h>
8 #include "kernel_intern.h"
11 AROS_LH0(KRN_SchedType
, KrnGetScheduler
,
12 struct KernelBase
*, KernelBase
, 1, Kernel
)
21 AROS_LH1(void, KrnSetScheduler
,
22 AROS_LHA(KRN_SchedType
, sched
, D0
),
23 struct KernelBase
*, KernelBase
, 2, Kernel
)
27 /* Cannot set scheduler yet */
32 AROS_LH0(void, KrnCause
,
33 struct KernelBase
*, KernelBase
, 3, Kernel
)
37 KernelIFace
.core_syscall(SC_CAUSE
);
42 AROS_LH0(void , KrnDispatch
,
43 struct KernelBase
*, KernelBase
, 4, Kernel
)
47 D(bug("[KRN] KrnDispatch()\n"));
48 KernelIFace
.core_syscall(SC_DISPATCH
);
53 AROS_LH0(void, KrnSwitch
,
54 struct KernelBase
*, KernelBase
, 5, Kernel
)
58 D(bug("[KRN] KrnSwitch()\n"));
59 KernelIFace
.core_syscall(SC_SWITCH
);
64 AROS_LH0(void, KrnSchedule
,
65 struct KernelBase
*, KernelBase
, 6, Kernel
)
69 D(bug("[KRN] KrnSchedule()\n"));
70 KernelIFace
.core_syscall(SC_SCHEDULE
);