One more MBR byte...
authorH. Peter Anvin <hpa@zytor.com>
Wed, 11 Jul 2007 22:46:52 +0000 (15:46 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 11 Jul 2007 22:46:52 +0000 (15:46 -0700)
mbr/mbr.S

index 7597d79..6130303 100644 (file)
--- a/mbr/mbr.S
+++ b/mbr/mbr.S
@@ -99,7 +99,7 @@ next:
        pushw   %ax             /* Save sectors/cylinder on the stack */
 
        xorl    %eax, %eax      /* Base */
-       xorl    %edx, %edx      /* Root: %edx <- 0 */
+       cdq                     /* Root (%edx <- 0) */
        call    scan_partition_table
 
        /* If we get here, we have no OS */