From af0ab3b74f3c489d6ae2730fe5c367e1ae6fb24d Mon Sep 17 00:00:00 2001 From: hpa Date: Thu, 18 Aug 2005 18:32:42 +0000 Subject: [PATCH] Fix incorrect use of esi which should have been si --- NEWS | 1 + ldlinux.asm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 5b1bc03..4c79b13 100644 --- 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. diff --git a/ldlinux.asm b/ldlinux.asm index 5ef6c15..e415e97 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: -- 2.7.4