diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-07-14 13:47:57 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:54 -0400 |
commit | bdf21b18b4abf983db38f04ef7fec88f47389867 (patch) | |
tree | b7e551f09f0ee39f4a59132be4c0890e1ba80d91 /include/asm-mips/mipsregs.h | |
parent | e01402b115cccb6357f956649487aca2c6f7fbba (diff) |
Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mipsregs.h')
-rw-r--r-- | include/asm-mips/mipsregs.h | 12 |
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 | ||