2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: SuperState() - Switch the processor into a higher plane.
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
)
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