1 /* Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /* asm entry of system task dispatcher */
12 stmdb sp!,{r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,sp,lr}^
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
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 */