ureg.h 617 B

1234567891011121314151617181920212223242526272829303132333435
  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. unsigned long r0;
  9. unsigned long r1;
  10. unsigned long r2;
  11. unsigned long r3;
  12. unsigned long r4;
  13. unsigned long r5;
  14. unsigned long r6;
  15. unsigned long r7;
  16. unsigned long r8;
  17. unsigned long r9;
  18. unsigned long r10;
  19. unsigned long r11;
  20. unsigned long r12; /* sb */
  21. union {
  22. unsigned long r13;
  23. unsigned long sp;
  24. };
  25. union {
  26. unsigned long r14;
  27. unsigned long link;
  28. };
  29. unsigned long type; /* of exception */
  30. unsigned long psr;
  31. unsigned long pc; /* interrupted addr */
  32. };
  33. #endif