mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
Added missing __from_text16()s when passing pointers to PXE NBP.
This commit is contained in:
@@ -391,7 +391,9 @@ int pxe_boot ( void ) {
|
|||||||
"lcall $0, $0x7c00\n\t" )
|
"lcall $0, $0x7c00\n\t" )
|
||||||
: "=a" ( rc ), "=b" ( discard_b ),
|
: "=a" ( rc ), "=b" ( discard_b ),
|
||||||
"=c" ( discard_c )
|
"=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" );
|
: "edx", "esi", "edi", "ebp", "memory" );
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
|
|||||||
Reference in New Issue
Block a user