Make these compile again.
This commit is contained in:
parent
11632db942
commit
a2bc99d6f1
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: machdep.c,v 1.42 1995/04/22 20:27:33 christos Exp $ */
|
/* $NetBSD: machdep.c,v 1.43 1995/04/23 00:37:23 briggs Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -517,14 +517,6 @@ sendsig(catcher, sig, mask, code)
|
||||||
ft = frame->f_format;
|
ft = frame->f_format;
|
||||||
oonstack = psp->ps_sigstk.ss_flags & SA_ONSTACK;
|
oonstack = psp->ps_sigstk.ss_flags & SA_ONSTACK;
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* build the short SunOS frame instead
|
|
||||||
*/
|
|
||||||
sunos_sendsig(catcher, sig, mask, code);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
/*
|
/*
|
||||||
* Allocate and validate space for the signal handler
|
* Allocate and validate space for the signal handler
|
||||||
* context. Note that if the stack is in P0 space, the
|
* context. Note that if the stack is in P0 space, the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: trap.c,v 1.27 1995/04/22 20:50:20 christos Exp $ */
|
/* $NetBSD: trap.c,v 1.28 1995/04/23 00:37:29 briggs Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988 University of Utah.
|
* Copyright (c) 1988 University of Utah.
|
||||||
|
@ -66,6 +66,7 @@
|
||||||
#include <machine/pte.h>
|
#include <machine/pte.h>
|
||||||
|
|
||||||
#ifdef COMPAT_SUNOS
|
#ifdef COMPAT_SUNOS
|
||||||
|
#include <compat/sunos/sunos_syscall.h>
|
||||||
extern struct emul emul_sunos;
|
extern struct emul emul_sunos;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -687,7 +688,7 @@ syscall(code, frame)
|
||||||
* on the stack to skip, the argument follows the syscall
|
* on the stack to skip, the argument follows the syscall
|
||||||
* number without a gap.
|
* number without a gap.
|
||||||
*/
|
*/
|
||||||
if (code != SUNOS_SYS_sigreturn) {
|
if (code != SUNOS_SYS_sunos_sigreturn) {
|
||||||
frame.f_regs[SP] += sizeof (int);
|
frame.f_regs[SP] += sizeof (int);
|
||||||
/*
|
/*
|
||||||
* remember that we adjusted the SP,
|
* remember that we adjusted the SP,
|
||||||
|
|
Loading…
Reference in New Issue