patch-1.3.73 linux/arch/i386/boot/bootsect.S

Next file: linux/arch/i386/boot/compressed/Makefile
Previous file: linux/arch/i386/boot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.72/linux/arch/i386/boot/bootsect.S linux/arch/i386/boot/bootsect.S
@@ -268,8 +268,14 @@
 die:	jne die			! es must be at 64kB boundary
 	xor bx,bx		! bx is starting address within segment
 rp_read:
+#ifdef __BIG_KERNEL__
+#define CALL_HIGHLOAD_KLUDGE .word 0x1eff,0x220 ! call far * bootsect_kludge
+				! NOTE: as86 can't assemble this
+	CALL_HIGHLOAD_KLUDGE	! this is within setup.S
+#else
 	mov ax,es
 	sub ax,#SYSSEG
+#endif
 	cmp ax,syssize		! have we loaded all yet?
 	jbe ok1_read
 	ret

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this