2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: UserState() - Return to normal mode after changing things.
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
)
20 wrmsr(rdmsr() | (MSR_PR
));
22 sysStack
= 0; /* Get rid of the compiler warning */