summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-18 18:32:42 +0000
committerhpa <hpa>2005-08-18 18:32:42 +0000
commitaf0ab3b74f3c489d6ae2730fe5c367e1ae6fb24d (patch)
tree111079adab045da889395b71cd182d5f1a6e2e53
parent10301a9ee604a4cab5fd245beb408c83ff30049f (diff)
downloadsyslinux-af0ab3b74f3c489d6ae2730fe5c367e1ae6fb24d.tar.gz
Fix incorrect use of esi which should have been sisyslinux-3.10-pre10
-rw-r--r--NEWS1
-rw-r--r--ldlinux.asm4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5b1bc034..4c79b138 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 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: