Pārlūkot izejas kodu

[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>
tags/v1.20.1
Daniel Pieczko 9 gadus atpakaļ
vecāks
revīzija
abd36b9f96
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      src/arch/i386/prefix/libprefix.S

+ 2
- 2
src/arch/i386/prefix/libprefix.S Parādīt failu

@@ -460,11 +460,11 @@ process_bytes:
460 460
 
461 461
 	/* Convert %ds:esi and %es:edi back to physical addresses */
462 462
 	xorl	%eax, %eax
463
-	movw	%ds, %cx
463
+	movw    %ds, %ax
464 464
 	shll	$4, %eax
465 465
 	addl	%eax, %esi
466 466
 	xorl	%eax, %eax
467
-	movw	%es, %cx
467
+	movw    %es, %ax
468 468
 	shll	$4, %eax
469 469
 	addl	%eax, %edi
470 470
 

Notiek ielāde…
Atcelt
Saglabāt