diff options
| author | Daniel Pieczko | 2015-08-12 12:45:58 +0200 |
|---|---|---|
| committer | Michael Brown | 2015-08-14 17:18:54 +0200 |
| commit | abd36b9f96b57d672af2df58ea6aa7c7f7158c6c (patch) | |
| tree | 9c4f19fe84344d0a3ce8f2e761ad22fe9ecad7d5 /src/arch | |
| parent | [efi] Add missing "ULL" suffix on 64-bit constant (diff) | |
| download | ipxe-abd36b9f96b57d672af2df58ea6aa7c7f7158c6c.tar.gz ipxe-abd36b9f96b57d672af2df58ea6aa7c7f7158c6c.tar.xz ipxe-abd36b9f96b57d672af2df58ea6aa7c7f7158c6c.zip | |
[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>
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/i386/prefix/libprefix.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/prefix/libprefix.S b/src/arch/i386/prefix/libprefix.S index c514dac78..7d5c1ed53 100644 --- a/src/arch/i386/prefix/libprefix.S +++ b/src/arch/i386/prefix/libprefix.S @@ -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 |
