ureg.h 1011 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 r0; /* unnecessary; just for symmetry */
  12. union{
  13. ulong sp; /* r1 */
  14. ulong usp; /* r1 */
  15. ulong r1;
  16. };
  17. ulong r2;
  18. ulong r3;
  19. ulong r4;
  20. ulong r5;
  21. ulong r6;
  22. ulong r7;
  23. ulong r8;
  24. ulong r9;
  25. ulong r10;
  26. ulong r11;
  27. ulong r12;
  28. ulong r13;
  29. ulong r14;
  30. ulong r15;
  31. ulong r16;
  32. ulong r17;
  33. ulong r18;
  34. ulong r19;
  35. ulong r20;
  36. ulong r21;
  37. ulong r22;
  38. ulong r23;
  39. ulong r24;
  40. ulong r25;
  41. ulong r26;
  42. ulong r27;
  43. ulong r28;
  44. ulong r29;
  45. ulong r30;
  46. ulong r31;
  47. ulong y;
  48. ulong tbr;
  49. ulong psr;
  50. ulong npc;
  51. ulong pc;
  52. ulong pad; /* so structure is double word aligned */
  53. };