2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: UserState() - Return to normal mode after changing things.
9 /*****************************************************************************
12 #include <proto/exec.h>
13 #include <asm/amcc440.h>
15 AROS_LH1(void, UserState
,
18 AROS_LHA(APTR
, sysStack
, D0
),
21 struct ExecBase
*, SysBase
, 26, Exec
)
24 Return to user mode after a call to SuperState().
27 sysStack - The return value from SuperState()
30 The system will be back to normal.
39 SuperState(), Supervisor()
44 ******************************************************************************/
48 wrmsr(rdmsr() | (MSR_PR
));
50 sysStack
= 0; /* Get rid of the compiler warning */