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(Schedule,Exec,7)
16 .globl __Schedule_this
18 .func AROS_SLIB_ENTRY(Schedule,Exec,7)
19 AROS_SLIB_ENTRY(Schedule,Exec,7):
20 movem.l %d0-%d1/%a0-%a1/%a5-%a6,%sp@- /* Save D0-D1/A0-A1 */
23 tst.w %d0 /* Something to do? */
24 movem.l %sp@+,%d0-%d1/%a0-%a1/%a5-%a6 /* Restore regs */
25 bne AROS_SLIB_ENTRY(Switch,Exec,9)