소스 검색

[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 8 년 전
부모
커밋
abd36b9f96
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/arch/i386/prefix/libprefix.S

+ 2
- 2
src/arch/i386/prefix/libprefix.S 파일 보기

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

Loading…
취소
저장