summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/libkir.h
diff options
context:
space:
mode:
authorMichael Brown2006-05-24 16:06:28 +0200
committerMichael Brown2006-05-24 16:06:28 +0200
commit103aff3ae25495393b95a7c55c6e3e77938464cb (patch)
tree5e11b9c2cae8708bcc1ba5408ab065bc5e39556c /src/arch/i386/include/libkir.h
parentNBI is due for removal (diff)
downloadipxe-103aff3ae25495393b95a7c55c6e3e77938464cb.tar.gz
ipxe-103aff3ae25495393b95a7c55c6e3e77938464cb.tar.xz
ipxe-103aff3ae25495393b95a7c55c6e3e77938464cb.zip
Added potentially required "\n\t" on the end of asm_code_str
Diffstat (limited to 'src/arch/i386/include/libkir.h')
-rw-r--r--src/arch/i386/include/libkir.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/arch/i386/include/libkir.h b/src/arch/i386/include/libkir.h
index 0b2178eb5..008dff7e8 100644
--- a/src/arch/i386/include/libkir.h
+++ b/src/arch/i386/include/libkir.h
@@ -220,26 +220,13 @@ virt_to_user ( void * virtual ) {
"pushw %%fs\n\t" \
"pushw %%es\n\t" \
"pushw %%ds\n\t" \
- asm_code_str \
+ asm_code_str "\n\t" \
"popw %%ds\n\t" \
"popw %%es\n\t" \
"popw %%fs\n\t" \
"popw %%gs\n\t" \
".code16gcc\n\t"
-/* REAL_EXEC: execute some inline assembly code in a way that matches
- * the interface of librm
- */
-#define OUT_CONSTRAINTS(...) __VA_ARGS__
-#define IN_CONSTRAINTS(...) __VA_ARGS__
-#define CLOBBER(...) __VA_ARGS__
-#define REAL_EXEC( name, asm_code_str, num_out_constraints, \
- out_constraints, in_constraints, clobber ) do { \
- __asm__ __volatile__ ( \
- REAL_CODE ( asm_code_str ) \
- : out_constraints : in_constraints : clobber ); \
- } while ( 0 )
-
#endif /* ASSEMBLY */
#endif /* LIBKIR_H */