Signed-off-by: Daniel Pieczko <[email protected]>
---
 src/arch/i386/prefix/libprefix.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/arch/i386/prefix/libprefix.S b/src/arch/i386/prefix/libprefix.S
index c514dac..a7c5c9a 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

--
2.4.3
The information contained in this message is confidential and is intended for 
the addressee(s) only. If you have received this message in error, please 
notify the sender immediately and delete the message. Unless you are an 
addressee (or authorized to receive for an addressee), you may not use, copy or 
disclose to anyone this message or any information contained in this message. 
The unauthorized use, disclosure, copying or alteration of this message is 
strictly prohibited.
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to