Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / arch / .unmaintained / arm-all / exec / ints.S
blob52bfbc35db044e1011789201c3a4cd66b8c7758d
1 /*  Copyright © 1995-2001, The AROS Development Team. All rights reserved.
2     $Id$
3 */
5         .text
6         .balign 16
7         .globl  _sys_dispatch
9         /* asm entry of system task dispatcher */
10 _sys_dispatch:
11         
12         stmdb   sp!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,sp,lr}^
13         mrs     r0, SPSR
14         stmdb   sp!, {r0}
15                                             // Save context onto stack,
16                                             // What's on the stack looks
17                                             // like the pt_regs structure from ptrace.h
18         mov     r0, sp                      // r0 contains address of pt_regs
19         bl      sys_Dispatch
20         ldmdb   sp!, {r0}
21         msr     SPSR, r0
22         ldmdb   sp!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,sp,lr}^
24         /* Return from this function. There's no 'rts' instruction...*/
25         /* the following function automatically restores pc and cpsr */
26         subs    pc, lr, #4