mips2ureg.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. uint32_t status;
  12. long pc;
  13. union
  14. {
  15. struct
  16. {
  17. long sp; /* r29 */
  18. uint32_t cause;
  19. };
  20. struct
  21. {
  22. long usp; /* r29 */
  23. uint32_t ucause;
  24. };
  25. };
  26. uint32_t badvaddr;
  27. uint32_t tlbvirt;
  28. long hhi; long hi;
  29. long hlo; long lo;
  30. long hr31; long r31;
  31. long hr30; long r30;
  32. long hr28; long r28;
  33. long hr27; long r27;
  34. long hr26; long r26;
  35. long hr25; long r25;
  36. long hr24; long r24;
  37. long hr23; long r23;
  38. long hr22; long r22;
  39. long hr21; long r21;
  40. long hr20; long r20;
  41. long hr19; long r19;
  42. long hr18; long r18;
  43. long hr17; long r17;
  44. long hr16; long r16;
  45. long hr15; long r15;
  46. long hr14; long r14;
  47. long hr13; long r13;
  48. long hr12; long r12;
  49. long hr11; long r11;
  50. long hr10; long r10;
  51. long hr9; long r9;
  52. long hr8; long r8;
  53. long hr7; long r7;
  54. long hr6; long r6;
  55. long hr5; long r5;
  56. long hr4; long r4;
  57. long hr3; long r3;
  58. long hr2; long r2;
  59. long hr1; long r1;
  60. };