cacheops.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Cache operations for the cache instruction.
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * (C) Copyright 1996, 1997 by Ralf Baechle
  9. */
  10. #ifndef __ASM_MIPS_CACHEOPS_H
  11. #define __ASM_MIPS_CACHEOPS_H
  12. /*
  13. * Cache Operations
  14. */
  15. #define Index_Invalidate_I 0x00
  16. #define Index_Writeback_Inv_D 0x01
  17. #define Index_Invalidate_SI 0x02
  18. #define Index_Writeback_Inv_SD 0x03
  19. #define Index_Load_Tag_I 0x04
  20. #define Index_Load_Tag_D 0x05
  21. #define Index_Load_Tag_SI 0x06
  22. #define Index_Load_Tag_SD 0x07
  23. #define Index_Store_Tag_I 0x08
  24. #define Index_Store_Tag_D 0x09
  25. #define Index_Store_Tag_SI 0x0A
  26. #define Index_Store_Tag_SD 0x0B
  27. #define Create_Dirty_Excl_D 0x0d
  28. #define Create_Dirty_Excl_SD 0x0f
  29. #define Hit_Invalidate_I 0x10
  30. #define Hit_Invalidate_D 0x11
  31. #define Hit_Invalidate_SI 0x12
  32. #define Hit_Invalidate_SD 0x13
  33. #define Fill 0x14
  34. #define Hit_Writeback_Inv_D 0x15
  35. /* 0x16 is unused */
  36. #define Hit_Writeback_Inv_SD 0x17
  37. #define Hit_Writeback_I 0x18
  38. #define Hit_Writeback_D 0x19
  39. /* 0x1a is unused */
  40. #define Hit_Writeback_SD 0x1b
  41. /* 0x1c is unused */
  42. /* 0x1e is unused */
  43. #define Hit_Set_Virtual_SI 0x1e
  44. #define Hit_Set_Virtual_SD 0x1f
  45. #endif /* __ASM_MIPS_CACHEOPS_H */