Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / ppc-chrp / exec / superstate.c
blob928694fd8538d66352d042560f7c5ea44b7db3ee
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: SuperState() - Switch the processor into a higher plane.
6 Lang: english
7 */
9 #include <proto/exec.h>
11 /* See rom/exec/superstate.c for documentation */
13 AROS_LH0(APTR, SuperState,
14 struct ExecBase *, SysBase, 25, Exec)
16 AROS_LIBFUNC_INIT
18 asm volatile("li %%r3,%0; sc"::"i"(6 /*SC_SUPERSTATE*/):"memory","r3");
20 /* We have to return something. NULL is an invalid address for a
21 stack, so it could be used to say that this function does
22 nothing.
24 return NULL;
26 AROS_LIBFUNC_EXIT
27 } /* SuperState() */