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:
97fe623
)
MBR: Set %si immediately upon setting %sp
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 5 Feb 2007 00:52:59 +0000
(16:52 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 5 Feb 2007 00:52:59 +0000
(16:52 -0800)
mbr/mbr.S
patch
|
blob
|
history
diff --git
a/mbr/mbr.S
b/mbr/mbr.S
index
edfccfb
..
82dc5a6
100644
(file)
--- a/
mbr/mbr.S
+++ b/
mbr/mbr.S
@@
-43,6
+43,7
@@
_start:
movw %ax, %ds
movw %ax, %ss
movw $stack, %sp
+ movw %sp, %si
pushw %es /* es:di -> $PnP header */
pushw %di
pushw %dx /* dl -> drive number */
@@
-51,7
+52,6
@@
_start:
cld
/* Copy down to 0:0x600 */
- movw %sp, %si
movw $_start, %di
movw $(512/2), %cx
rep; movsw