Removed autodocs of arch specific variants of ROM modules.
[AROS.git] / arch / ppc-chrp / exec / userstate.c
blob1b30ac720c848b4e1b0649bd1dc3625f60da8e02
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: UserState() - Return to normal mode after changing things.
6 Lang: english
7 */
9 #include <proto/exec.h>
10 #include <asm/mpc5200b.h>
12 /* See rom/exec/userstate.c for documentation */
14 AROS_LH1(void, UserState,
15 AROS_LHA(APTR, sysStack, D0),
16 struct ExecBase *, SysBase, 26, Exec)
18 AROS_LIBFUNC_INIT
20 wrmsr(rdmsr() | (MSR_PR));
22 sysStack = 0; /* Get rid of the compiler warning */
24 AROS_LIBFUNC_EXIT
25 } /* UserState() */