diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1995-11-28 20:43:09 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1995-11-28 20:43:09 +0000 |
commit | 76615f8f659c198cf2a371c49611e30edd500c33 (patch) | |
tree | 9a4e254c77949d0bc971d22738d5a0cbbc882daa | |
parent | e566f88d923ebad2a2c1a680f198c67980486f5d (diff) |
Fix SunOS emulation on 040
-rw-r--r-- | sys/compat/sunos/sunos_exec.c | 8 |
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, }; |