math_emu.h 645 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef ASM_X86__MATH_EMU_H
  2. #define ASM_X86__MATH_EMU_H
  3. /* This structure matches the layout of the data saved to the stack
  4. following a device-not-present interrupt, part of it saved
  5. automatically by the 80386/80486.
  6. */
  7. struct info {
  8. long ___orig_eip;
  9. long ___ebx;
  10. long ___ecx;
  11. long ___edx;
  12. long ___esi;
  13. long ___edi;
  14. long ___ebp;
  15. long ___eax;
  16. long ___ds;
  17. long ___es;
  18. long ___fs;
  19. long ___orig_eax;
  20. long ___eip;
  21. long ___cs;
  22. long ___eflags;
  23. long ___esp;
  24. long ___ss;
  25. long ___vm86_es; /* This and the following only in vm86 mode */
  26. long ___vm86_ds;
  27. long ___vm86_fs;
  28. long ___vm86_gs;
  29. };
  30. #endif /* ASM_X86__MATH_EMU_H */