2 Copyright © 2012, The AROS Development Team. All rights reserved.
8 These routines are the core of the m68k scheduling system
11 #include "aros/m68k/asm.h"
15 .globl AROS_SLIB_ENTRY(Switch,Exec,9)
17 .func AROS_SLIB_ENTRY(Switch,Exec,9)
18 AROS_SLIB_ENTRY(Switch,Exec,9):
19 movem.l %d0-%d7/%a0-%a7,%sp@-
21 move.l %a0,%sp@(4*15) /* Fix up %a7 */
22 move.l %sp,%sp@- /* Push regs_t * onto stack */
23 jsr cpu_Switch /* Call cpu_Switch */
24 jmp __Dispatch_this /* Skip ahead */