r10kcacheops.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.  * (C) Copyright 1999 Silicon Graphics, Inc.
  10.  */
  11. #ifndef _ASM_R10KCACHEOPS_H
  12. #define _ASM_R10KCACHEOPS_H
  13. /*
  14.  * Cache Operations
  15.  */
  16. #define Index_Invalidate_I      0x00
  17. #define Index_Writeback_Inv_D   0x01
  18. /* 0x02 is unused */
  19. #define Index_Writeback_Inv_S 0x03
  20. #define Index_Load_Tag_I 0x04
  21. #define Index_Load_Tag_D 0x05
  22. /* 0x06 is unused */
  23. #define Index_Load_Tag_S 0x07
  24. #define Index_Store_Tag_I 0x08
  25. #define Index_Store_Tag_D 0x09
  26. /* 0x0a is unused */
  27. #define Index_Store_Tag_S 0x0b
  28. /* 0x0c - 0x0e are unused */
  29. #define Hit_Invalidate_I 0x10
  30. #define Hit_Invalidate_D 0x11
  31. /* 0x12 is unused */
  32. #define Hit_Invalidate_S 0x13
  33. #define Cache_Barrier 0x14
  34. #define Hit_Writeback_Inv_D 0x15
  35. /* 0x16 is unused */
  36. #define Hit_Writeback_Inv_S 0x17
  37. #define Index_Load_Data_I 0x18
  38. #define Index_Load_Data_D 0x19
  39. /* 0x1a is unused */
  40. #define Index_Load_Data_S 0x1b
  41. #define Index_Store_Data_I 0x1c
  42. #define Index_Store_Data_D 0x1d
  43. /* 0x1e is unused */
  44. #define Index_Store_Data_S 0x1f
  45. #endif /* _ASM_R10KCACHEOPS_H */