From owner-cvs-sys Wed Dec 18 07:38:26 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA11512 for cvs-sys-outgoing; Wed, 18 Dec 1996 07:38:26 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA11505; Wed, 18 Dec 1996 07:38:25 -0800 (PST) Date: Wed, 18 Dec 1996 07:38:25 -0800 (PST) From: Bruce Evans Message-Id: <199612181538.HAA11505@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/biosboot bios.S Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/12/18 07:38:24 Modified: sys/i386/boot/biosboot bios.S Log: Initialize the upper 16 bits of the memory sizes properly (to 0). They were garbage that happened to be 0 in many cases. (real_to_prot() happens to leave the value of the real-mode %cr0 in %eax and the memory-size BIOS calls usually don't touch the upper bits of %eax. The upper 16 bits of %cr0 are usually 0 at boot time, at least on 486's. Should be in 2.2. Revision Changes Path 1.7 +4 -3 src/sys/i386/boot/biosboot/bios.S