ureg.h 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. {
  11. ulong status;
  12. ulong pc;
  13. union{
  14. ulong sp; /* r29 */
  15. ulong usp; /* r29 */
  16. };
  17. ulong cause;
  18. ulong badvaddr;
  19. ulong tlbvirt;
  20. ulong hi;
  21. ulong lo;
  22. ulong r31;
  23. ulong r30;
  24. ulong r28;
  25. ulong r27; /* unused */
  26. ulong r26; /* unused */
  27. ulong r25;
  28. ulong r24;
  29. ulong r23;
  30. ulong r22;
  31. ulong r21;
  32. ulong r20;
  33. ulong r19;
  34. ulong r18;
  35. ulong r17;
  36. ulong r16;
  37. ulong r15;
  38. ulong r14;
  39. ulong r13;
  40. ulong r12;
  41. ulong r11;
  42. ulong r10;
  43. ulong r9;
  44. ulong r8;
  45. ulong r7;
  46. ulong r6;
  47. ulong r5;
  48. ulong r4;
  49. ulong r3;
  50. ulong r2;
  51. ulong r1;
  52. };