summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1995-11-28 20:43:09 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1995-11-28 20:43:09 +0000
commit76615f8f659c198cf2a371c49611e30edd500c33 (patch)
tree9a4e254c77949d0bc971d22738d5a0cbbc882daa
parente566f88d923ebad2a2c1a680f198c67980486f5d (diff)
Fix SunOS emulation on 040
-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,
};