From owner-cvs-sys Sun Dec 22 23:41:35 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA23641 for cvs-sys-outgoing; Sun, 22 Dec 1996 23:41:35 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA23636; Sun, 22 Dec 1996 23:41:22 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id SAA14138; Mon, 23 Dec 1996 18:37:29 +1100 Date: Mon, 23 Dec 1996 18:37:29 +1100 From: Bruce Evans Message-Id: <199612230737.SAA14138@godzilla.zeta.org.au> To: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, joerg@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot bios.S Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Branch: sys/i386/boot/biosboot RELENG_2_2 > Modified: sys/i386/boot/biosboot bios.S > Log: > YAMFC: > Initialize the upper 16 bits of the memory sizes properly (to 0). I carefully decided not to commit that since it is cosmetic and can't help. The bits are were always actually initialized by: pushl $0 # or $1 ... movl this value from stack,%ebx ... # do stuff not changing %ebx ... # get size in %ax movl %eax,%ebx # sic, actually movl %ax,bx # this preserves %ax and # sets the top bits to 0 ... # do stuff not changing %ebx movl %ebx,%eax # return this Bruce