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:
9e3e0d2
)
core/bcopy32.inc: provide correct output esi/edi from bcopy
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 13 May 2009 23:19:16 +0000
(16:19 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 13 May 2009 23:19:16 +0000
(16:19 -0700)
Make sure the outputs from the bcopy routine are set correctly.
pm_bcopy doesn't do this for us, so we have to do that ourselves.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/bcopy32.inc
patch
|
blob
|
history
diff --git
a/core/bcopy32.inc
b/core/bcopy32.inc
index
9e785f1
..
aefcddb
100644
(file)
--- a/
core/bcopy32.inc
+++ b/
core/bcopy32.inc
@@
-45,8
+45,14
@@
; EDI - first byte after target
;
bcopy: jecxz .ret
+ push esi
+ push edi
+ push ecx
push word pm_bcopy
call pm_call
+ pop ecx
+ pop edi
+ pop esi
add edi,ecx
add esi,ecx
.ret: ret