ureg.h 753 B

1234567891011121314151617181920212223242526272829303132333435
  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. typedef struct Ureg {
  10. ulong r0;
  11. ulong r1;
  12. ulong r2;
  13. ulong r3;
  14. ulong r4;
  15. ulong r5;
  16. ulong r6;
  17. ulong r7;
  18. ulong r8;
  19. ulong r9;
  20. ulong r10;
  21. ulong r11;
  22. ulong r12; /* sb */
  23. union {
  24. ulong r13;
  25. ulong sp;
  26. };
  27. union {
  28. ulong r14;
  29. ulong link;
  30. };
  31. ulong type; /* of exception */
  32. ulong psr;
  33. ulong pc; /* interrupted addr */
  34. } Ureg;