[syslinux:dynamic-sector] diskstart: use the correct register for the starting address
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Tue Apr 5 14:39:04 PDT 2011
Commit-ID: 6831030abcb28fa34f63ec8d1a6304d097addb90
Gitweb: http://syslinux.zytor.com/commit/6831030abcb28fa34f63ec8d1a6304d097addb90
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 5 Apr 2011 14:35:55 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Apr 2011 14:35:55 -0700
diskstart: use the correct register for the starting address
The starting address is obtained in si, not edi.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
core/diskstart.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/core/diskstart.inc b/core/diskstart.inc
index 0124853..b2ef2b6 100644
--- a/core/diskstart.inc
+++ b/core/diskstart.inc
@@ -126,7 +126,7 @@ ldlinux_ent:
add edx,eax
loop .checksum
mov [CheckSum],edx ; Save intermediate result
- mov ebx,edi ; Start of the next sector
+ movzx ebx,si ; Start of the next sector
;
; Tell the user if we're using EBIOS or CBIOS
More information about the Syslinux-commits
mailing list