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
6 * Cache operations for the cache instruction.
8 * (C) Copyright 1996, 1997, 1999 by Ralf Baechle
9 * (C) Copyright 1999 Silicon Graphics, Inc.
11 #ifndef _ASM_R10KCACHEOPS_H
12 #define _ASM_R10KCACHEOPS_H
17 #define Index_Invalidate_I 0x00
18 #define Index_Writeback_Inv_D 0x01
20 #define Index_Writeback_Inv_S 0x03
21 #define Index_Load_Tag_I 0x04
22 #define Index_Load_Tag_D 0x05
24 #define Index_Load_Tag_S 0x07
25 #define Index_Store_Tag_I 0x08
26 #define Index_Store_Tag_D 0x09
28 #define Index_Store_Tag_S 0x0b
29 /* 0x0c - 0x0e are unused */
30 #define Hit_Invalidate_I 0x10
31 #define Hit_Invalidate_D 0x11
33 #define Hit_Invalidate_S 0x13
34 #define Cache_Barrier 0x14
35 #define Hit_Writeback_Inv_D 0x15
37 #define Hit_Writeback_Inv_S 0x17
38 #define Index_Load_Data_I 0x18
39 #define Index_Load_Data_D 0x19
41 #define Index_Load_Data_S 0x1b
42 #define Index_Store_Data_I 0x1c
43 #define Index_Store_Data_D 0x1d
45 #define Index_Store_Data_S 0x1f
47 #endif /* _ASM_R10KCACHEOPS_H */