diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-03-21 15:56:02 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-03-21 15:56:02 -0700 |
commit | 794ff174175734a0974e1846f0db29040b096e45 (patch) | |
tree | af404b0da61136448076319938a5bb7590ab4cac | |
parent | 03b7abe21e916d15eb381c17aeb153734fdfb7db (diff) | |
download | syslinux-794ff174175734a0974e1846f0db29040b096e45.tar.gz syslinux-794ff174175734a0974e1846f0db29040b096e45.tar.xz syslinux-794ff174175734a0974e1846f0db29040b096e45.zip |
altmbr: actually invoke the correct partitionsyslinux-4.06-pre2
We would fail to correctly invoke primary partitions 2-4 because of a
register usage bug.
Reported-by: Maxim Kammerer <mk@dee.su>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | mbr/altmbr.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/altmbr.S b/mbr/altmbr.S index 1b609051..c66b4ddc 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 */ |