Fix incorrect use of esi which should have been si
authorhpa <hpa>
Thu, 18 Aug 2005 18:32:42 +0000 (18:32 +0000)
committerhpa <hpa>
Thu, 18 Aug 2005 18:32:42 +0000 (18:32 +0000)
NEWS
ldlinux.asm

diff --git a/NEWS b/NEWS
index 5b1bc03..4c79b13 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Changes in 3.10:
        * Try to deal with systems with broken EBIOS.
        * New API call to do "localboot".
        * New API call to query features.
+       * Fix for bug in EBIOS code discovered by Arwin Vosselman.
 
 Changes in 3.09:
        * gcc4 compilation fix.
index 5ef6c15..e415e97 100644 (file)
@@ -655,9 +655,9 @@ load_rest:
                dec cx
                jz .chunk_ready
                inc edx                         ; Next linear sector
-               cmp [esi],edx                   ; Does it match
+               cmp [si],edx                    ; Does it match
                jnz .chunk_ready                ; If not, this is it
-               add esi,4                       ; If so, add sector to chunk
+               add si,4                        ; If so, add sector to chunk
                jmp short .make_chunk
 
 .chunk_ready: