aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1999-04-18 14:58:01 +0000
committerKATO Takenori <kato@FreeBSD.org>1999-04-18 14:58:01 +0000
commit181fdc454f3202a659883d2325aaddbfeb29e497 (patch)
treec1ae8b694887cc28c2b3b015d9660b01be232ec8 /sys
parent7e1a3c3a1392677c6274b15e9d1f1547ef4a9d0e (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c5
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;