david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Added missing __from_text16()s when passing pointers to PXE NBP.

This commit is contained in:
Michael Brown 2006-08-09 00:39:21 +00:00
parent 71754ada2a
commit 843bcc291d
1 changed files with 3 additions and 1 deletions

View File

@ -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;