mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +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 */
|
||||
xorl %eax, %eax
|
||||
movw %ds, %cx
|
||||
movw %ds, %ax
|
||||
shll $4, %eax
|
||||
addl %eax, %esi
|
||||
xorl %eax, %eax
|
||||
movw %es, %cx
|
||||
movw %es, %ax
|
||||
shll $4, %eax
|
||||
addl %eax, %edi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user