patch-2.0.32 linux/include/asm-i386/math_emu.h

Next file: linux/include/asm-m68k/errno.h
Previous file: linux/include/asm-i386/errno.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.31/linux/include/asm-i386/math_emu.h linux/include/asm-i386/math_emu.h
@@ -45,4 +45,13 @@
 	long ___vm86_gs;
 };
 
+/* Interface for converting data between the emulator format
+ * and the hardware format. Used for core dumping and for
+ * ptrace(2) */
+void hardreg_to_softreg(const char hardreg[10],
+			      struct fpu_reg *soft_reg);
+
+void softreg_to_hardreg(const struct fpu_reg *rp, char d[10],
+			long int control_word);
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov