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:
af25006
)
Corrections to self-loading sequence; we now get that far at least
author
hpa
<hpa>
Thu, 16 Dec 2004 07:47:11 +0000
(07:47 +0000)
committer
hpa
<hpa>
Thu, 16 Dec 2004 07:47:11 +0000
(07:47 +0000)
ldlinux.asm
patch
|
blob
|
history
diff --git
a/ldlinux.asm
b/ldlinux.asm
index
66c031b
..
8b43616
100644
(file)
--- a/
ldlinux.asm
+++ b/
ldlinux.asm
@@
-742,6
+742,8
@@
load_rest:
.chunk_ready:
call getlinsecsr
+ shl bp,SECTOR_SHIFT
+ add bx,bp
jmp .get_chunk
.done:
@@
-757,7
+759,7
@@
verify_checksum:
mov edx,-LDLINUX_MAGIC
.checksum:
lodsd
-
sub
edx,eax
+
add
edx,eax
loop .checksum
and edx,edx ; Should be zero