From 03fa9f6ac11a5c6d546e2caa3cb07c3aec729a1e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 11 Jul 2007 15:40:44 -0700 Subject: [PATCH] MBR: fix pointer to partition table base --- mbr/mbr.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbr/mbr.S b/mbr/mbr.S index 1093d87..cb8f6dc 100644 --- a/mbr/mbr.S +++ b/mbr/mbr.S @@ -232,11 +232,11 @@ scan_partition_table: /* * boot: invoke the actual bootstrap. (%si) points to the partition - * table entry, and 22(%bp) has the partition table base. + * table entry, and 28(%bp) has the partition table base. */ boot: movl 8(%si), %eax - addl 22(%bp), %eax + addl 28(%bp), %eax movl %eax, 8(%si) pushw %si call read_sector -- 2.7.4