Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. ppcreg.h
  5. Abstract:
  6. This file establishes the mapping between the traditional NT register
  7. names and the PPC register names. This really should have been in
  8. kxppc.h.
  9. Author:
  10. Dave Hastings (daveh) creation-date 13-Sep-1995
  11. Revision History:
  12. --*/
  13. #define sp r1 // stack pointer
  14. #define a0 r3 // argument registers
  15. #define a1 r4 //
  16. #define a2 r5 //
  17. #define a3 r6 //
  18. #define a4 r7 //
  19. #define a5 r8 //
  20. #define a6 r9 //
  21. #define a7 r10 //
  22. #define v0 r3 // function return value
  23. #define TebReg r13 // Callee saved registers
  24. #define s0 r14 //
  25. #define s1 r15 //
  26. #define s2 r16 //
  27. #define s3 r17 //
  28. #define s4 r18 //
  29. #define s5 r19 //
  30. #define s6 r20 //
  31. #define s7 r21 //
  32. #define s8 r22 //
  33. #define s9 r23 //
  34. #define s10 r24 //
  35. #define s11 r25 //
  36. #define s12 r26 //
  37. #define s13 r27 //
  38. #define s14 r28 //
  39. #define s15 r29 //
  40. #define s16 r30 //
  41. #define s18 r31 //