xref: /linux/arch/mips/include/asm/cop2.h (revision 5499b45190237ca90dd2ac86395cf464fe1f4cc7)
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  * Copyright (C) 2009 Wind River Systems,
7  *   written by Ralf Baechle <ralf@linux-mips.org>
8  */
9 #ifndef __ASM_COP2_H
10 #define __ASM_COP2_H
11 
12 enum cu2_ops {
13 	CU2_EXCEPTION,
14 	CU2_LWC2_OP,
15 	CU2_LDC2_OP,
16 	CU2_SWC2_OP,
17 	CU2_SDC2_OP,
18 };
19 
20 extern int register_cu2_notifier(struct notifier_block *nb);
21 extern int cu2_notifier_call_chain(unsigned long val, void *v);
22 
23 #endif /* __ASM_COP2_H */
24