Forward compatibility: build relative-base link libraries where needed
[AROS.git] / arch / ppc-sam440 / exec / userstate.c
blob9f24b1e75cdbb4348d46d797a2697c9bae1eb62e
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/amcc440.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() */