File: /usr/src/linux/include/asm-mips64/r10kcacheops.h
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 /*
15 * Cache Operations
16 */
17 #define Index_Invalidate_I 0x00
18 #define Index_Writeback_Inv_D 0x01
19 /* 0x02 is unused */
20 #define Index_Writeback_Inv_S 0x03
21 #define Index_Load_Tag_I 0x04
22 #define Index_Load_Tag_D 0x05
23 /* 0x06 is unused */
24 #define Index_Load_Tag_S 0x07
25 #define Index_Store_Tag_I 0x08
26 #define Index_Store_Tag_D 0x09
27 /* 0x0a is unused */
28 #define Index_Store_Tag_S 0x0b
29 /* 0x0c - 0x0e are unused */
30 #define Hit_Invalidate_I 0x10
31 #define Hit_Invalidate_D 0x11
32 /* 0x12 is unused */
33 #define Hit_Invalidate_S 0x13
34 #define Cache_Barrier 0x14
35 #define Hit_Writeback_Inv_D 0x15
36 /* 0x16 is unused */
37 #define Hit_Writeback_Inv_S 0x17
38 #define Index_Load_Data_I 0x18
39 #define Index_Load_Data_D 0x19
40 /* 0x1a is unused */
41 #define Index_Load_Data_S 0x1b
42 #define Index_Store_Data_I 0x1c
43 #define Index_Store_Data_D 0x1d
44 /* 0x1e is unused */
45 #define Index_Store_Data_S 0x1f
46
47 #endif /* _ASM_R10KCACHEOPS_H */
48