1 /* Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 /* asm entry of system task dispatcher */
12 movem.l %d0-%d7/%a0-%a6,-(%ssp) // Save context onto stack,
13 // exception context already saves PC and SR
14 // What's on the stack looks
15 // like the pt_regs structure from ptrace.h
19 move.l %a0,-(%ssp) // A0 contains address of pt_regs
24 movem.l (%ssp)+,%d0-%d7/%a0-%a6
27 clear the LO IRQ status register!! POSE has a bug here for
28 clearing all of it at once (HI+LO)
30 // clr.w 0xfffff30e // clear the IRQ status register LO