From 76615f8f659c198cf2a371c49611e30edd500c33 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Tue, 28 Nov 1995 20:43:09 +0000 Subject: Fix SunOS emulation on 040 --- sys/compat/sunos/sunos_exec.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/compat/sunos') 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, }; -- cgit v1.2.3