aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mipsregs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mipsregs.h')
-rw-r--r--include/asm-mips/mipsregs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-mips/mipsregs.h b/include/asm-mips/mipsregs.h
index a7a43ff8c5cf..08aa231b4dea 100644
--- a/include/asm-mips/mipsregs.h
+++ b/include/asm-mips/mipsregs.h
@@ -841,12 +841,24 @@ do { \
841#define read_c0_count() __read_32bit_c0_register($9, 0) 841#define read_c0_count() __read_32bit_c0_register($9, 0)
842#define write_c0_count(val) __write_32bit_c0_register($9, 0, val) 842#define write_c0_count(val) __write_32bit_c0_register($9, 0, val)
843 843
844#define read_c0_count2() __read_32bit_c0_register($9, 6) /* pnx8550 */
845#define write_c0_count2(val) __write_32bit_c0_register($9, 6, val)
846
847#define read_c0_count3() __read_32bit_c0_register($9, 7) /* pnx8550 */
848#define write_c0_count3(val) __write_32bit_c0_register($9, 7, val)
849
844#define read_c0_entryhi() __read_ulong_c0_register($10, 0) 850#define read_c0_entryhi() __read_ulong_c0_register($10, 0)
845#define write_c0_entryhi(val) __write_ulong_c0_register($10, 0, val) 851#define write_c0_entryhi(val) __write_ulong_c0_register($10, 0, val)
846 852
847#define read_c0_compare() __read_32bit_c0_register($11, 0) 853#define read_c0_compare() __read_32bit_c0_register($11, 0)
848#define write_c0_compare(val) __write_32bit_c0_register($11, 0, val) 854#define write_c0_compare(val) __write_32bit_c0_register($11, 0, val)
849 855
856#define read_c0_compare2() __read_32bit_c0_register($11, 6) /* pnx8550 */
857#define write_c0_compare2(val) __write_32bit_c0_register($11, 6, val)
858
859#define read_c0_compare3() __read_32bit_c0_register($11, 7) /* pnx8550 */
860#define write_c0_compare3(val) __write_32bit_c0_register($11, 7, val)
861
850#define read_c0_status() __read_32bit_c0_register($12, 0) 862#define read_c0_status() __read_32bit_c0_register($12, 0)
851#define write_c0_status(val) __write_32bit_c0_register($12, 0, val) 863#define write_c0_status(val) __write_32bit_c0_register($12, 0, val)
852 864