cache.inc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __CACHE_H__
  2. #define __CACHE_H__
  3. /*
  4. * Cache Operations
  5. */
  6. #define Index_Invalidate_I 0x00
  7. #define Index_Writeback_Inv_D 0x01
  8. #define Index_Invalidate_SI 0x02
  9. #define Index_Writeback_Inv_SD 0x03
  10. #define Index_Load_Tag_I 0x04
  11. #define Index_Load_Tag_D 0x05
  12. #define Index_Load_Tag_SI 0x06
  13. #define Index_Load_Tag_SD 0x07
  14. #define Index_Store_Tag_I 0x08
  15. #define Index_Store_Tag_D 0x09
  16. #define Index_Store_Tag_SI 0x0A
  17. #define Index_Store_Tag_SD 0x0B
  18. #define Create_Dirty_Excl_D 0x0d
  19. #define Create_Dirty_Excl_SD 0x0f
  20. #define Hit_Invalidate_I 0x10
  21. #define Hit_Invalidate_D 0x11
  22. #define Hit_Invalidate_SI 0x12
  23. #define Hit_Invalidate_SD 0x13
  24. #define Fill 0x14
  25. #define Hit_Writeback_Inv_D 0x15
  26. /* 0x16 is unused */
  27. #define Hit_Writeback_Inv_SD 0x17
  28. #define Hit_Writeback_I 0x18
  29. #define Hit_Writeback_D 0x19
  30. /* 0x1a is unused */
  31. #define Hit_Writeback_SD 0x1b
  32. /* 0x1c is unused */
  33. /* 0x1e is unused */
  34. #define Hit_Set_Virtual_SI 0x1e
  35. #define Hit_Set_Virtual_SD 0x1f
  36. #endif