1
0

ureg.h 1.4 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. #ifndef __UREG_H
  10. #define __UREG_H
  11. #if !defined(_PLAN9_SOURCE)
  12. This header file is an extension to ANSI/POSIX
  13. #endif
  14. struct Ureg
  15. {
  16. unsigned long r0; /* unnecessary; just for symmetry */
  17. union{
  18. unsigned long sp; /* r1 */
  19. unsigned long usp; /* r1 */
  20. unsigned long r1;
  21. };
  22. unsigned long r2;
  23. unsigned long r3;
  24. unsigned long r4;
  25. unsigned long r5;
  26. unsigned long r6;
  27. unsigned long r7;
  28. unsigned long r8;
  29. unsigned long r9;
  30. unsigned long r10;
  31. unsigned long r11;
  32. unsigned long r12;
  33. unsigned long r13;
  34. unsigned long r14;
  35. unsigned long r15;
  36. unsigned long r16;
  37. unsigned long r17;
  38. unsigned long r18;
  39. unsigned long r19;
  40. unsigned long r20;
  41. unsigned long r21;
  42. unsigned long r22;
  43. unsigned long r23;
  44. unsigned long r24;
  45. unsigned long r25;
  46. unsigned long r26;
  47. unsigned long r27;
  48. unsigned long r28;
  49. unsigned long r29;
  50. unsigned long r30;
  51. unsigned long r31;
  52. unsigned long y;
  53. unsigned long tbr;
  54. unsigned long psr;
  55. unsigned long npc;
  56. unsigned long pc;
  57. unsigned long pad; /* so structure is double word aligned */
  58. };
  59. #endif