Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / ppc-sam440 / exec / superstate.c
blob14912eb5d963e7f75b7202468cbabc5cc51e7fc9
1 /*
2 Copyright © 1995-2001, 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>
10 #include <asm/amcc440.h>
12 /* See rom/exec/superstate.c for documentation */
14 AROS_LH0(APTR, SuperState,
15 struct ExecBase *, SysBase, 25, Exec)
17 AROS_LIBFUNC_INIT
19 asm volatile("li %%r3,%0; sc"::"i"(6 /*SC_SUPERSTATE*/):"memory","r3");
21 /* We have to return something. NULL is an invalid address for a
22 stack, so it could be used to say that this function does
23 nothing.
25 return NULL;
27 AROS_LIBFUNC_EXIT
28 } /* SuperState() */