projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435fa5c
)
MBR: fix pointer to partition table base
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 11 Jul 2007 22:40:44 +0000
(15:40 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 11 Jul 2007 22:40:44 +0000
(15:40 -0700)
mbr/mbr.S
patch
|
blob
|
history
diff --git
a/mbr/mbr.S
b/mbr/mbr.S
index
1093d87
..
cb8f6dc
100644
(file)
--- 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 2
2
(%bp) has the partition table base.
+ * table entry, and 2
8
(%bp) has the partition table base.
*/
boot:
movl 8(%si), %eax
- addl 2
2
(%bp), %eax
+ addl 2
8
(%bp), %eax
movl %eax, 8(%si)
pushw %si
call read_sector