From owner-cvs-sys Mon Nov 11 06:27:05 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA16387 for cvs-sys-outgoing; Mon, 11 Nov 1996 06:27:05 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA16381; Mon, 11 Nov 1996 06:27:00 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id BAA14852; Tue, 12 Nov 1996 01:25:36 +1100 Date: Tue, 12 Nov 1996 01:25:36 +1100 From: Bruce Evans Message-Id: <199611111425.BAA14852@godzilla.zeta.org.au> To: bde@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@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 > Modified: sys/i386/boot/biosboot bios.S > Log: > Preserve %esi and %edi for all BIOS calls. This is probably only necessary > for get_diskinfo(), whose BIOS call sets %es:%edi in some cases, although > most documentation says that it doesn't change %edi in the cases that > happened to matter (for hard disks). > > This shall be in 2.1.6 and 2.2. > > Submitted by: Tor.Egge@idt.ntnu.no > (except I kept the unnecessary preservation of %edx and %ecx) There are too many versions of the BIOS routines. I will fix only get_diskinfo() in dosboot in -current. It should also be fixed in dosboot and pc98/boot/*. dosboot uses inline asm and also seems to not preserve %es. Bruce