http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71754ad
)
Added missing __from_text16()s when passing pointers to PXE NBP.
author
Michael Brown
<mcb30@etherboot.org>
Wed, 9 Aug 2006 00:39:21 +0000
(
00:39
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 9 Aug 2006 00:39:21 +0000
(
00:39
+0000)
src/arch/i386/interface/pxe/pxe_call.c
patch
|
blob
|
history
diff --git
a/src/arch/i386/interface/pxe/pxe_call.c
b/src/arch/i386/interface/pxe/pxe_call.c
index
0d29699
..
df32dd7
100644
(file)
--- a/
src/arch/i386/interface/pxe/pxe_call.c
+++ b/
src/arch/i386/interface/pxe/pxe_call.c
@@
-391,7
+391,9
@@
int pxe_boot ( void ) {
"lcall $0, $0x7c00\n\t" )
: "=a" ( rc ), "=b" ( discard_b ),
"=c" ( discard_c )
- : "a" ( &pxe ), "b" ( &pxenv ), "c" ( rm_cs )
+ : "a" ( & __from_text16 ( pxe ) ),
+ "b" ( & __from_text16 ( pxenv ) ),
+ "c" ( rm_cs )
: "edx", "esi", "edi", "ebp", "memory" );
return rc;