diff options
| author | KATO Takenori <kato@FreeBSD.org> | 1999-04-18 14:58:01 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 1999-04-18 14:58:01 +0000 |
| commit | 181fdc454f3202a659883d2325aaddbfeb29e497 (patch) | |
| tree | c1ae8b694887cc28c2b3b015d9660b01be232ec8 /sys | |
| parent | 7e1a3c3a1392677c6274b15e9d1f1547ef4a9d0e (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/pc98/i386/machdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 11386362ab05..43c32e590d25 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.105.2.3 1999/02/19 14:39:52 kato Exp $ + * $Id: machdep.c,v 1.105.2.4 1999/04/14 04:55:24 jdp Exp $ */ #include "apm.h" @@ -848,6 +848,9 @@ setregs(p, entry, stack, ps_strings) regs->tf_es = _udatasel; regs->tf_cs = _ucodesel; + /* PS_STRINGS value for BSD/OS binaries. It is 0 for non-BSD/OS. */ + regs->tf_ebx = ps_strings; + /* reset %fs and %gs as well */ pcb->pcb_fs = _udatasel; pcb->pcb_gs = _udatasel; |
