patch-2.3.23 linux/arch/i386/boot/setup.S

Next file: linux/arch/i386/boot/video.S
Previous file: linux/arch/i386/boot/bootsect.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/arch/i386/boot/setup.S linux/arch/i386/boot/setup.S
@@ -209,14 +209,14 @@
 	addw	$SYSSEG, %bx
 	movw	%bx, %cs:start_sys_seg
 # Move rest of setup code/data to here
-	movw	$2048, %di			# four sectors loaded by LILO
+	movw	$4096, %di			# four sectors loaded by LILO
 	subw	%si, %si
 	movw	%cs, %ax			# aka SETUPSEG
 	movw	%ax, %es
 	movw	$SYSSEG, %ax
 	movw	%ax, %ds
 	rep
-	movsl
+	movsw
 	movw	%cs, %ax			# aka SETUPSEG
 	movw	%ax, %ds
 	cmpw	$SIG1, setup_sig1
@@ -532,9 +532,9 @@
 	addw	$0x100, %bx
 	subw	%di, %di
 	subw	%si, %si
-	movw 	$0x400, %cx
+	movw 	$0x800, %cx
 	rep
-	movsl
+	movsw
 	cmpw	%bp, %bx			# assume start_sys_seg > 0x200,
 						# so we will perhaps read one
 						# page more than needed, but

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)