r4kcacheops.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * This file is subject to the terms and conditions of the GNU General Public
  3.  * License.  See the file "COPYING" in the main directory of this archive
  4.  * for more details.
  5.  *
  6.  * Cache operations for the cache instruction.
  7.  *
  8.  * (C) Copyright 1996, 1997, 1999 by Ralf Baechle
  9.  */
  10. #ifndef _ASM_R4kCACHEOPS_H
  11. #define _ASM_R4kCACHEOPS_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 R5K_Page_Invalidate_S 0x17
  38. #define Hit_Writeback_I 0x18
  39. #define Hit_Writeback_D 0x19
  40. /* 0x1a is unused */
  41. #define Hit_Writeback_SD 0x1b
  42. /* 0x1c is unused */
  43. /* 0x1e is unused */
  44. #define Hit_Set_Virtual_SI 0x1e
  45. #define Hit_Set_Virtual_SD 0x1f
  46. #endif /* _ASM_R4kCACHEOPS_H */