projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1594a5c
)
gptmbr: addw $512, %bx -> addb $2, %bh
author
H. Peter Anvin
<hpa@zytor.com>
Mon, 25 Feb 2008 23:10:20 +0000
(15:10 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Mon, 25 Feb 2008 23:10:20 +0000
(15:10 -0800)
Save one byte...
mbr/gptmbr.S
patch
|
blob
|
history
diff --git
a/mbr/gptmbr.S
b/mbr/gptmbr.S
index
fa0ae2c
..
49414e4
100644
(file)
--- a/
mbr/gptmbr.S
+++ b/
mbr/gptmbr.S
@@
-256,7
+256,7
@@
read_common:
addw $16, %sp /* Drop DAPA */
popal
jc disk_error
- add
w $512, %bx /* PO
int to the next buffer */
+ add
b $2, %bh /* bx += 512: po
int to the next buffer */
ret
disk_error: