mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[prefix] Use correct register for KEEP_IT_REAL physical address conversion
Signed-off-by: Daniel Pieczko <dpieczko@solarflare.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
989fe14ccd
commit
abd36b9f96
@@ -460,11 +460,11 @@ process_bytes:
|
|||||||
|
|
||||||
/* Convert %ds:esi and %es:edi back to physical addresses */
|
/* Convert %ds:esi and %es:edi back to physical addresses */
|
||||||
xorl %eax, %eax
|
xorl %eax, %eax
|
||||||
movw %ds, %cx
|
movw %ds, %ax
|
||||||
shll $4, %eax
|
shll $4, %eax
|
||||||
addl %eax, %esi
|
addl %eax, %esi
|
||||||
xorl %eax, %eax
|
xorl %eax, %eax
|
||||||
movw %es, %cx
|
movw %es, %ax
|
||||||
shll $4, %eax
|
shll $4, %eax
|
||||||
addl %eax, %edi
|
addl %eax, %edi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user