[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
Daniel Pieczko 2015-08-12 11:45:58 +01:00 committed by Michael Brown
parent 989fe14ccd
commit abd36b9f96
1 changed files with 2 additions and 2 deletions

View File

@ -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