(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/exec.h>

APTR SuperState ()

LOCATION
In SysBase at offset 25

SYNOPSIS

FUNCTION
Enter supervisor mode (like Supervisor()), but return on the user stack. This will mean that the user stack variables are still there. A call to UserState() will end this mode.

INPUTS
None.

RESULT
The old supervisor stack. This must be passed to UserState(). If the processor was already in supervisor mode, then this function will return NULL. In that case do NOT call UserState().

EXAMPLE

SEE ALSO
Supervisor(), UserState()

NOTES
This is not a good function to use, it has limited scope, and will probably be even less useful in the future.

BUGS
You can easily cause your system to cease operating normally.

INTERNALS
For extra details see Supervisor().

HISTORY