diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ldlinux.asm | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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. diff --git a/ldlinux.asm b/ldlinux.asm index 5ef6c15f..e415e974 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -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: |