ureg.h 878 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. struct Ureg {
  10. u64int ax;
  11. u64int bx;
  12. u64int cx;
  13. u64int dx;
  14. u64int si;
  15. u64int di;
  16. u64int bp;
  17. u64int r8;
  18. u64int r9;
  19. u64int r10;
  20. u64int r11;
  21. u64int r12;
  22. u64int r13;
  23. u64int r14;
  24. u64int r15;
  25. u16int ds;
  26. u16int es;
  27. u16int fs;
  28. u16int gs;
  29. u64int type;
  30. u64int error; /* error code (or zero) */
  31. u64int ip; /* pc */
  32. u64int cs; /* old context */
  33. u64int flags; /* old flags */
  34. u64int sp; /* sp */
  35. u64int ss; /* old stack segment */
  36. };