diff options
author | jdp <jdp@FreeBSD.org> | 1999-04-03 22:20:03 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-04-03 22:20:03 +0000 |
commit | 60ad9560502beabab095c9441389f5ad42ab0d86 (patch) | |
tree | c740f0812cd3e34726c1c768f6008d375c5d68a5 /sys/amd64/include/reg.h | |
parent | dd18b40e3fd648d6d36b7b384929832ec0177168 (diff) | |
download | FreeBSD-src-60ad9560502beabab095c9441389f5ad42ab0d86.zip FreeBSD-src-60ad9560502beabab095c9441389f5ad42ab0d86.tar.gz |
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 <tas@stephens.org>
Reviewed by: jdp
Diffstat (limited to 'sys/amd64/include/reg.h')
-rw-r--r-- | sys/amd64/include/reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
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_ */ |