Kaynağa Gözat

[bios] Allow bzimage.c to be compiled for x86_64

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 yıl önce
ebeveyn
işleme
4d224c95d4
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3
    3
      src/arch/i386/image/bzimage.c

+ 3
- 3
src/arch/i386/image/bzimage.c Dosyayı Görüntüle

631
 					   "pushw %w2\n\t"
631
 					   "pushw %w2\n\t"
632
 					   "pushw $0\n\t"
632
 					   "pushw $0\n\t"
633
 					   "lret\n\t" )
633
 					   "lret\n\t" )
634
-			       : : "r" ( bzimg.rm_kernel_seg ),
635
-			           "r" ( bzimg.rm_heap ),
636
-			           "r" ( bzimg.rm_kernel_seg + 0x20 ) );
634
+			       : : "R" ( bzimg.rm_kernel_seg ),
635
+			           "R" ( bzimg.rm_heap ),
636
+			           "R" ( bzimg.rm_kernel_seg + 0x20 ) );
637
 
637
 
638
 	/* There is no way for the image to return, since we provide
638
 	/* There is no way for the image to return, since we provide
639
 	 * no return address.
639
 	 * no return address.

Loading…
İptal
Kaydet