Skip to content

Commit

Permalink
[prefix] Use correct register for KEEP_IT_REAL physical address conve…
Browse files Browse the repository at this point in the history
…rsion

Signed-off-by: Daniel Pieczko <dpieczko@solarflare.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
Daniel Pieczko authored and mcb30 committed Aug 14, 2015
1 parent 989fe14 commit abd36b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arch/i386/prefix/libprefix.S
Expand Up @@ -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

Expand Down

0 comments on commit abd36b9

Please sign in to comment.