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:
parent
2b2fe33c89
commit
6a32566a7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user