Fix bug that would occationally cause I/O errors depending on the
authorhpa <hpa>
Fri, 22 Aug 2003 03:39:37 +0000 (03:39 +0000)
committerhpa <hpa>
Fri, 22 Aug 2003 03:39:37 +0000 (03:39 +0000)
size of the kernel.

NEWS
runkernel.inc
version

diff --git a/NEWS b/NEWS
index 0f092ae..3d9465c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ Starting with 1.47, changes marked with SYSLINUX/PXELINUX/ISOLINUX
 apply to that specific program only; other changes apply to all of
 them.
 
+Changes in 2.06:
+       * SYSLINUX: Fix problem that would occationally cause a boot
+         failure, depending on the length of the kernel.
+
 Changes in 2.05:
        * PXELINUX: Add a default query based on the hardware address
          of the boot device.  This is in lower case hexadecimal form
index 1b23cdc..5ad10d5 100644 (file)
@@ -274,7 +274,7 @@ read_kernel:
                pop ecx                         ; Number of bytes in the initial portion
                pop si                          ; Restore file handle/cluster pointer
                mov eax,[KernelSize]
-               sub eax,ecx                     ; Amount of kernel left over
+               sub eax,8000h                   ; Amount of kernel not yet loaded
                jbe high_load_done              ; Zero left (tiny kernel)
 
                call load_high                  ; Copy the file
diff --git a/version b/version
index fc22f6f..ed30379 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-2.05
+2.06