diff options
Diffstat (limited to 'sys/pc98/i386/machdep.c')
-rw-r--r-- | sys/pc98/i386/machdep.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index b840362..b451be5 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.106 1999/01/29 10:43:09 kato Exp $ + * $Id: machdep.c,v 1.107 1999/02/04 09:55:42 kato Exp $ */ #include "apm.h" @@ -873,6 +873,13 @@ setregs(p, entry, stack) /* Initialize the npx (if any) for the current process. */ npxinit(__INITIAL_NPXCW__); #endif + + /* + * XXX - Linux emulator + * Make sure sure edx is 0x0 on entry. Linux binaries depend + * on it. + */ + p->p_retval[1] = 0; } static int |