xf86x86emu.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * XFree86 int10 module
  3. * execute BIOS int 10h calls in x86 real mode environment
  4. * Copyright 1999 Egbert Eich
  5. */
  6. #ifdef HAVE_XORG_CONFIG_H
  7. #include <xorg-config.h>
  8. #endif
  9. #ifndef XF86X86EMU_H_
  10. #define XF86X86EMU_H_
  11. #include <x86emu.h>
  12. #define M _X86EMU_env
  13. #define X86_EAX M.x86.R_EAX
  14. #define X86_EBX M.x86.R_EBX
  15. #define X86_ECX M.x86.R_ECX
  16. #define X86_EDX M.x86.R_EDX
  17. #define X86_ESI M.x86.R_ESI
  18. #define X86_EDI M.x86.R_EDI
  19. #define X86_EBP M.x86.R_EBP
  20. #define X86_EIP M.x86.R_EIP
  21. #define X86_ESP M.x86.R_ESP
  22. #define X86_EFLAGS M.x86.R_EFLG
  23. #define X86_FLAGS M.x86.R_FLG
  24. #define X86_AX M.x86.R_AX
  25. #define X86_BX M.x86.R_BX
  26. #define X86_CX M.x86.R_CX
  27. #define X86_DX M.x86.R_DX
  28. #define X86_SI M.x86.R_SI
  29. #define X86_DI M.x86.R_DI
  30. #define X86_BP M.x86.R_BP
  31. #define X86_IP M.x86.R_IP
  32. #define X86_SP M.x86.R_SP
  33. #define X86_CS M.x86.R_CS
  34. #define X86_DS M.x86.R_DS
  35. #define X86_ES M.x86.R_ES
  36. #define X86_SS M.x86.R_SS
  37. #define X86_FS M.x86.R_FS
  38. #define X86_GS M.x86.R_GS
  39. #define X86_AL M.x86.R_AL
  40. #define X86_BL M.x86.R_BL
  41. #define X86_CL M.x86.R_CL
  42. #define X86_DL M.x86.R_DL
  43. #define X86_AH M.x86.R_AH
  44. #define X86_BH M.x86.R_BH
  45. #define X86_CH M.x86.R_CH
  46. #define X86_DH M.x86.R_DH
  47. #endif