Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 1996 01:25:36 +1100
From:      Bruce Evans <bde@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
Message-ID:  <199611111425.BAA14852@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611111425.BAA14852>