mirror of https://github.com/ipxe/ipxe.git
[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>pull/54/head
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue