|
@@ -7,7 +7,7 @@
|
|
* Copyright (C) 2000 Silicon Graphics, Inc.
|
|
* Copyright (C) 2000 Silicon Graphics, Inc.
|
|
* Modified for further R[236]000 support by Paul M. Antoine, 1996.
|
|
* Modified for further R[236]000 support by Paul M. Antoine, 1996.
|
|
* Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
|
|
* Kevin D. Kissell, kevink@mips.com and Carsten Langgaard, carstenl@mips.com
|
|
- * Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
|
|
|
|
|
|
+ * Copyright (C) 2000, 07 MIPS Technologies, Inc.
|
|
* Copyright (C) 2003, 2004 Maciej W. Rozycki
|
|
* Copyright (C) 2003, 2004 Maciej W. Rozycki
|
|
*/
|
|
*/
|
|
#ifndef _ASM_MIPSREGS_H
|
|
#ifndef _ASM_MIPSREGS_H
|
|
@@ -533,6 +533,7 @@
|
|
#define MIPS_CONF3_VEIC (_ULCAST_(1) << 6)
|
|
#define MIPS_CONF3_VEIC (_ULCAST_(1) << 6)
|
|
#define MIPS_CONF3_LPA (_ULCAST_(1) << 7)
|
|
#define MIPS_CONF3_LPA (_ULCAST_(1) << 7)
|
|
#define MIPS_CONF3_DSP (_ULCAST_(1) << 10)
|
|
#define MIPS_CONF3_DSP (_ULCAST_(1) << 10)
|
|
|
|
+#define MIPS_CONF3_ULRI (_ULCAST_(1) << 13)
|
|
|
|
|
|
#define MIPS_CONF7_WII (_ULCAST_(1) << 31)
|
|
#define MIPS_CONF7_WII (_ULCAST_(1) << 31)
|
|
|
|
|
|
@@ -772,6 +773,9 @@ do { \
|
|
#define read_c0_context() __read_ulong_c0_register($4, 0)
|
|
#define read_c0_context() __read_ulong_c0_register($4, 0)
|
|
#define write_c0_context(val) __write_ulong_c0_register($4, 0, val)
|
|
#define write_c0_context(val) __write_ulong_c0_register($4, 0, val)
|
|
|
|
|
|
|
|
+#define read_c0_userlocal() __read_ulong_c0_register($4, 2)
|
|
|
|
+#define write_c0_userlocal(val) __write_ulong_c0_register($4, 2, val)
|
|
|
|
+
|
|
#define read_c0_pagemask() __read_32bit_c0_register($5, 0)
|
|
#define read_c0_pagemask() __read_32bit_c0_register($5, 0)
|
|
#define write_c0_pagemask(val) __write_32bit_c0_register($5, 0, val)
|
|
#define write_c0_pagemask(val) __write_32bit_c0_register($5, 0, val)
|
|
|
|
|