2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: Supervisor() - Execute some code in a privileged environment.
9 #include <proto/exec.h>
10 #include <asm/amcc440.h>
12 /* See rom/exec/supervisor.c for documentation */
14 AROS_LH1(ULONG
, Supervisor
,
15 AROS_LHA(ULONG_FUNC
, userFunction
, A5
),
16 struct ExecBase
*, SysBase
, 5, Exec
)
20 register ULONG retval
;
25 retval
= (*userFunction
)();