Preserve %esi and %edi for get_diskinfo(). See the logs for similar fixes

in bios.S.  I only fixed the case that is known to be broken here.

Should be in 2.2.
This commit is contained in:
Bruce Evans 1996-11-11 14:27:12 +00:00
parent 2b2fe33c89
commit 6a32566a7d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19644

View File

@ -340,6 +340,8 @@ _get_diskinfo:
mov %esp, %ebp
push %es
push %ebx
push %esi
push %edi
push %ecx
push %edx
@ -392,6 +394,8 @@ ok:
pop %edx
pop %ecx
pop %edi
pop %esi
pop %ebx
pop %es
pop %ebp