Subject: port-i386/3941: typo in dosboot breaks XMS support
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 08/05/1997 07:10:44
>Number: 3941
>Category: port-i386
>Synopsis: a glitch in exec_fromdos.c broke XMS support in dosboot.com
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 4 22:35:02 1997
>Last-Modified:
>Originator: Martin Husemann
>Organization:
UP-Vision Computergraphik GmbH
>Release: current as of July 4
>Environment:
>Description:
dosboot.com won't work with XMS (himem.sys installed) anymore.
>How-To-Repeat:
Try it or look at the code.
>Fix:
*** /sys/arch/i386/stand/lib/exec_fromdos.c Sat Jun 14 13:25:29 1997
--- exec_fromdos.c Mon Aug 4 19:00:09 1997
***************
*** 133,143 ****
cp = loadaddr;
extmem = getextmem();
! #if XMS
if ((extmem == 0) && (extmem = checkxms())) {
u_long kernsize;
/* Approximate a size for the temporary buffer needed.
* Can't calculate the real size right now because we don't
--- 133,143 ----
cp = loadaddr;
extmem = getextmem();
! #ifdef XMS
if ((extmem == 0) && (extmem = checkxms())) {
u_long kernsize;
/* Approximate a size for the temporary buffer needed.
* Can't calculate the real size right now because we don't
>Audit-Trail:
>Unformatted: