From 60ad9560502beabab095c9441389f5ad42ab0d86 Mon Sep 17 00:00:00 2001 From: jdp Date: Sat, 3 Apr 1999 22:20:03 +0000 Subject: Restore support for executing BSD/OS binaries on the i386 by passing the address of the ps_strings structure to the process via %ebx. For other kinds of binaries, %ebx is still zeroed as before. Submitted by: Thomas Stephens Reviewed by: jdp --- sys/amd64/include/reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/amd64/include/reg.h') diff --git a/sys/amd64/include/reg.h b/sys/amd64/include/reg.h index 3e97fc1..28466a8 100644 --- a/sys/amd64/include/reg.h +++ b/sys/amd64/include/reg.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)reg.h 5.5 (Berkeley) 1/18/91 - * $Id: reg.h,v 1.15 1997/06/07 04:36:06 bde Exp $ + * $Id: reg.h,v 1.16 1998/09/14 22:43:40 jdp Exp $ */ #ifndef _MACHINE_REG_H_ @@ -124,7 +124,7 @@ struct fpreg { */ int set_fpregs __P((struct proc *, struct fpreg *)); int set_regs __P((struct proc *p, struct reg *regs)); -void setregs __P((struct proc *, u_long, u_long)); +void setregs __P((struct proc *, u_long, u_long, u_long)); #endif #endif /* !_MACHINE_REG_H_ */ -- cgit v1.1