1
0

cp0regdef.h 873 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 1994, 1995, 1996, 1997, 2000, 2001 by Ralf Baechle
  3. *
  4. * Copyright (C) 2001, Monta Vista Software
  5. * Author: jsun@mvista.com or jsun@junsun.net
  6. */
  7. #ifndef _cp0regdef_h_
  8. #define _cp0regdef_h_
  9. #define CP0_INDEX $0
  10. #define CP0_RANDOM $1
  11. #define CP0_ENTRYLO0 $2
  12. #define CP0_ENTRYLO1 $3
  13. #define CP0_CONTEXT $4
  14. #define CP0_PAGEMASK $5
  15. #define CP0_WIRED $6
  16. #define CP0_BADVADDR $8
  17. #define CP0_COUNT $9
  18. #define CP0_ENTRYHI $10
  19. #define CP0_COMPARE $11
  20. #define CP0_STATUS $12
  21. #define CP0_CAUSE $13
  22. #define CP0_EPC $14
  23. #define CP0_PRID $15
  24. #define CP0_CONFIG $16
  25. #define CP0_LLADDR $17
  26. #define CP0_WATCHLO $18
  27. #define CP0_WATCHHI $19
  28. #define CP0_XCONTEXT $20
  29. #define CP0_FRAMEMASK $21
  30. #define CP0_DIAGNOSTIC $22
  31. #define CP0_PERFORMANCE $25
  32. #define CP0_ECC $26
  33. #define CP0_CACHEERR $27
  34. #define CP0_TAGLO $28
  35. #define CP0_TAGHI $29
  36. #define CP0_ERROREPC $30
  37. #endif