grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / exec / userstate.c
blobffde11bead4305f68acadfa5f5aa6be53e7f5e40
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: UserState() - Return to normal mode after changing things.
6 Lang: english
7 */
9 /*****************************************************************************
11 NAME */
12 #include <proto/exec.h>
14 AROS_LH1(void, UserState,
16 /* SYNOPSIS */
17 AROS_LHA(APTR, sysStack, D0),
19 /* LOCATION */
20 struct ExecBase *, SysBase, 26, Exec)
22 /* FUNCTION
23 Return to user mode after a call to SuperState().
25 INPUTS
26 sysStack - The return value from SuperState()
28 RESULT
29 The system will be back to normal.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 SuperState(), Supervisor()
40 INTERNALS
41 Undo SuperState()
43 ******************************************************************************/
45 AROS_LIBFUNC_INIT
47 /* By default there is nothing to do. */
48 sysStack = 0; /* Get rid of the compiler warning */
50 AROS_LIBFUNC_EXIT
51 } /* UserState() */