Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Add Loongson2 DIAG register definition...



details:   https://anonhg.NetBSD.org/src/rev/4acc1f66517b
branches:  trunk
changeset: 767870:4acc1f66517b
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Aug 02 05:12:32 2011 +0000

description:
Add Loongson2 DIAG register definitions (partial)

diffstat:

 sys/arch/mips/include/cpuregs.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1962022b2e5d -r 4acc1f66517b sys/arch/mips/include/cpuregs.h
--- a/sys/arch/mips/include/cpuregs.h   Tue Aug 02 05:10:31 2011 +0000
+++ b/sys/arch/mips/include/cpuregs.h   Tue Aug 02 05:12:32 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuregs.h,v 1.84 2011/07/31 15:35:04 matt Exp $        */
+/*     $NetBSD: cpuregs.h,v 1.85 2011/08/02 05:12:32 matt Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -571,6 +571,10 @@
 #define        MIPS_COP_0_DATA_HI      _(29)
 #define        MIPS_COP_0_DESAVE       _(31)
 
+#define        MIPS_DIAG_RAS_DISABLE   0x00000001      /* Loongson2 */
+#define        MIPS_DIAG_BTB_CLEAR     0x00000002      /* Loongson2 */
+#define        MIPS_DIAG_ITLB_CLEAR    0x00000004      /* Loongson2 */
+
 /*
  * Values for the code field in a break instruction.
  */



Home | Main Index | Thread Index | Old Index