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 CPU_MIPS_LOONGSON2 flag (rather de...



details:   https://anonhg.NetBSD.org/src/rev/19bc438484aa
branches:  trunk
changeset: 767810:19bc438484aa
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 31 15:36:28 2011 +0000

description:
Add CPU_MIPS_LOONGSON2 flag (rather defining a CPU_ARCH_MIPS3_LOONGSON2).
This is much less intrusive and disruptive.

diffstat:

 sys/arch/mips/include/cpu.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8e649729e170 -r 19bc438484aa sys/arch/mips/include/cpu.h
--- a/sys/arch/mips/include/cpu.h       Sun Jul 31 15:35:04 2011 +0000
+++ b/sys/arch/mips/include/cpu.h       Sun Jul 31 15:36:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.103 2011/07/06 09:27:35 matt Exp $   */
+/*     $NetBSD: cpu.h,v 1.104 2011/07/31 15:36:28 matt Exp $   */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -280,6 +280,7 @@
 #define        CPU_MIPS_I_D_CACHE_COHERENT     0x0800  /* I-cache funcs don't need to flush the D-cache */
 #define        CPU_MIPS_NO_LLADDR              0x1000
 #define        CPU_MIPS_HAVE_MxCR              0x2000  /* have mfcr, mtcr insns */
+#define        CPU_MIPS_LOONGSON2              0x4000
 #define        MIPS_NOT_SUPP                   0x8000
 
 #endif /* !_LOCORE */



Home | Main Index | Thread Index | Old Index