2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 /*****************************************************************************
10 AROS_LH1(void, UserState,
13 AROS_LHA(APTR, sysStack, D0),
16 struct ExecBase *, SysBase, 26, Exec)
19 Return to user mode after a call to SuperState().
22 sysStack - The returncode from SuperState().
33 SuperState(), Supervisor()
39 ******************************************************************************/
41 #include "aros/m68k/asm.h"
45 .globl AROS_SLIB_ENTRY(UserState,Exec,26)
46 .type AROS_SLIB_ENTRY(UserState,Exec,26),@function
47 AROS_SLIB_ENTRY(UserState,Exec,26):
48 /* simply return if argument is NULL */
56 /* Set old supervisor sp */
59 /* And return. This jumps directly to a rts. */