Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. struct vm86_regs {
  2. /*
  3. * normal regs, with special meaning for the segment descriptors..
  4. */
  5. long ebx;
  6. long ecx;
  7. long edx;
  8. long esi;
  9. long edi;
  10. long ebp;
  11. long eax;
  12. long __null_ds;
  13. long __null_es;
  14. long __null_fs;
  15. long __null_gs;
  16. long orig_eax;
  17. long eip;
  18. unsigned short cs, __csh;
  19. long eflags;
  20. long esp;
  21. unsigned short ss, __ssh;
  22. /*
  23. * these are specific to v86 mode:
  24. */
  25. unsigned short es, __esh;
  26. unsigned short ds, __dsh;
  27. unsigned short fs, __fsh;
  28. unsigned short gs, __gsh;
  29. };
  30.  
  31. struct revectored_struct {
  32. unsigned long __map[8]; /* 256 bits */
  33. };
  34.  
  35. struct vm86_struct {
  36. struct vm86_regs regs;
  37. unsigned long flags;
  38. unsigned long screen_bitmap;
  39. unsigned long cpu_type;
  40. struct revectored_struct int_revectored;
  41. struct revectored_struct int21_revectored;
  42. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement