diff options
| author | Michael Brown | 2006-08-09 02:39:21 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-08-09 02:39:21 +0200 |
| commit | 843bcc291d1257cf2f25d4ecf7a71259e979391c (patch) | |
| tree | 794b95ecad39d0f5c1a6b6d9db4fc9d32618c176 /src/arch/i386/interface | |
| parent | Allow linking by converting functions to stubs (diff) | |
| download | ipxe-843bcc291d1257cf2f25d4ecf7a71259e979391c.tar.gz ipxe-843bcc291d1257cf2f25d4ecf7a71259e979391c.tar.xz ipxe-843bcc291d1257cf2f25d4ecf7a71259e979391c.zip | |
Added missing __from_text16()s when passing pointers to PXE NBP.
Diffstat (limited to 'src/arch/i386/interface')
| -rw-r--r-- | src/arch/i386/interface/pxe/pxe_call.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c index 0d2969932..df32dd7d9 100644 --- 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; |
