dont try to convert the pixfmt while calculating the "shade"
[AROS.git] / arch / m68k-all / exec / switch.S
blobadbc59111bbd8efe8baa9b5eec9799d5811555d2
1 /*
2     Copyright © 2012, The AROS Development Team. All rights reserved.
3     $Id$
5     Desc: Switch()
6     Lang: english
8     These routines are the core of the m68k scheduling system
9 */
11 #include "aros/m68k/asm.h"
13         .text
14         .balign 4
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@-
20         move.l  %usp,%a0
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 */
25         .endfunc