ureg.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef __UREG_H
  2. #define __UREG_H
  3. #if !defined(_PLAN9_SOURCE)
  4. This header file is an extension to ANSI/POSIX
  5. #endif
  6. struct Ureg
  7. {
  8. /* l.s saves 31 64-bit values: */
  9. unsigned long long type;
  10. unsigned long long a0;
  11. unsigned long long a1;
  12. unsigned long long a2;
  13. unsigned long long r0;
  14. unsigned long long r1;
  15. unsigned long long r2;
  16. unsigned long long r3;
  17. unsigned long long r4;
  18. unsigned long long r5;
  19. unsigned long long r6;
  20. unsigned long long r7;
  21. unsigned long long r8;
  22. unsigned long long r9;
  23. unsigned long long r10;
  24. unsigned long long r11;
  25. unsigned long long r12;
  26. unsigned long long r13;
  27. unsigned long long r14;
  28. unsigned long long r15;
  29. unsigned long long r19;
  30. unsigned long long r20;
  31. unsigned long long r21;
  32. unsigned long long r22;
  33. unsigned long long r23;
  34. unsigned long long r24;
  35. unsigned long long r25;
  36. unsigned long long r26;
  37. unsigned long long r27;
  38. unsigned long long r28;
  39. union {
  40. unsigned long long r30;
  41. unsigned long long usp;
  42. unsigned long long sp;
  43. };
  44. /* OSF/1 PALcode frame: */
  45. unsigned long long status; /* PS */
  46. unsigned long long pc;
  47. unsigned long long r29; /* GP */
  48. unsigned long long r16; /* a0 */
  49. unsigned long long r17; /* a1 */
  50. unsigned long long r18; /* a2 */
  51. };
  52. #endif