From: H. Peter Anvin Date: Wed, 14 Nov 2007 23:01:28 +0000 (-0800) Subject: mbr.S: fix loading from logical partitions X-Git-Tag: syslinux-3.53-pre5~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2520f1b46d08fe2879a93c81973df67834fea17;p=platform%2Fupstream%2Fsyslinux.git mbr.S: fix loading from logical partitions Fix loading from logical partitions (a push/pop pair was not done in reverse order.) --- diff --git a/mbr/mbr.S b/mbr/mbr.S index 2a318be..63622d9 100644 --- a/mbr/mbr.S +++ b/mbr/mbr.S @@ -207,8 +207,8 @@ scan_partition_table: jns too_many_active /* No active partitions found, look for extended partitions */ - popw %bx /* %bx <- ptab */ popw %cx /* %cx <- 4 */ + popw %bx /* %bx <- ptab */ 7: movb 4(%bx), %al cmpb $0x0f, %al /* 0x0f = Win9x extended */