root/include/linux/math_emu.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _LINUX_MATH_EMU_H
   2 #define _LINUX_MATH_EMU_H
   3 
   4 
   5 void restore_i387_soft(struct _fpstate *buf);
   6 struct _fpstate * save_i387_soft(struct _fpstate * buf);
   7 
   8 struct fpu_reg {
   9         char sign;
  10         char tag;
  11         long exp;
  12         unsigned sigl;
  13         unsigned sigh;
  14 };
  15 
  16 
  17 /* This structure matches the layout of the data saved to the stack
  18    following a device-not-present interrupt, part of it saved
  19    automatically by the 80386/80486.
  20    */
  21 struct info {
  22         long ___orig_eip;
  23         long ___ret_from_system_call;
  24         long ___ebx;
  25         long ___ecx;
  26         long ___edx;
  27         long ___esi;
  28         long ___edi;
  29         long ___ebp;
  30         long ___eax;
  31         long ___ds;
  32         long ___es;
  33         long ___fs;
  34         long ___gs;
  35         long ___orig_eax;
  36         long ___eip;
  37         long ___cs;
  38         long ___eflags;
  39         long ___esp;
  40         long ___ss;
  41         long ___vm86_es; /* This and the following only in vm86 mode */
  42         long ___vm86_ds;
  43         long ___vm86_fs;
  44         long ___vm86_gs;
  45 };
  46 
  47 #endif

/* [previous][next][first][last][top][bottom][index][help] */