[syslinux:master] altmbr: actually invoke the correct partition
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Wed Mar 21 16:00:06 PDT 2012
Commit-ID: 794ff174175734a0974e1846f0db29040b096e45
Gitweb: http://www.syslinux.org/commit/794ff174175734a0974e1846f0db29040b096e45
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 21 Mar 2012 15:56:02 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 21 Mar 2012 15:56:02 -0700
altmbr: actually invoke the correct partition
We would fail to correctly invoke primary partitions 2-4 because of a
register usage bug.
Reported-by: Maxim Kammerer <mk at dee.su>
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
mbr/altmbr.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mbr/altmbr.S b/mbr/altmbr.S
index 1b60905..c66b4dd 100644
--- a/mbr/altmbr.S
+++ b/mbr/altmbr.S
@@ -204,7 +204,7 @@ scan_partition_table:
5:
decb (partition)
jz boot
- addw $16, %bx
+ addw $16, %si
loopw 5b
popw %cx /* %cx <- 4 */
More information about the Syslinux-commits
mailing list