arm.h 520 B

12345678910111213141516171819202122232425
  1. //PAGEBREAK: 36
  2. // Layout of the trap frame built on the stack by the
  3. // hardware and by trapasm.S, and passed to trap().
  4. struct trapframe {
  5. uint trapno;
  6. uint spsr; // saved cpsr from the trapped/interrupted mode
  7. uint ifar; // Instruction Fault Address Register (IFAR)
  8. uint cpsr;
  9. uint sp; // user mode sp
  10. uint lr; // return address of the interrupted code
  11. uint r12;
  12. uint r11;
  13. uint r10;
  14. uint r9;
  15. uint r8;
  16. uint r7;
  17. uint r6;
  18. uint r5;
  19. uint r4;
  20. uint r3;
  21. uint r2;
  22. uint r1;
  23. uint r0;
  24. };