summaryrefslogtreecommitdiff
path: root/sys/compat/sunos/sunos_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/sunos/sunos_exec.c')
-rw-r--r--sys/compat/sunos/sunos_exec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index 3ed414feb97..e2ada6fff0b 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -68,6 +68,10 @@ extern struct sysent sunos_sysent[];
extern char *sunos_syscallnames[];
#endif
extern void sunos_sendsig __P((sig_t, int, int, u_long));
+#ifdef m68k
+extern void sunos_setregs __P((struct proc *, struct exec_package *, u_long,
+ register_t *));
+#endif
extern char sigcode[], esigcode[];
const char sunos_emul_path[] = "/emul/sunos";
@@ -89,7 +93,11 @@ struct emul emul_sunos = {
#endif
0,
copyargs,
+#ifdef m68k
+ sunos_setregs,
+#else
setregs,
+#endif
sigcode,
esigcode,
};