Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium/dev Add some CvmCtl bits from newer cnM...



details:   https://anonhg.NetBSD.org/src/rev/18510cbfda21
branches:  trunk
changeset: 936789:18510cbfda21
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 04 01:59:46 2020 +0000

description:
Add some CvmCtl bits from newer cnMIPS cores.

diffstat:

 sys/arch/mips/cavium/dev/octeon_corereg.h |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c5f7842fef33 -r 18510cbfda21 sys/arch/mips/cavium/dev/octeon_corereg.h
--- a/sys/arch/mips/cavium/dev/octeon_corereg.h Tue Aug 04 01:55:16 2020 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_corereg.h Tue Aug 04 01:59:46 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_corereg.h,v 1.4 2020/07/26 07:46:21 simonb Exp $        */
+/*     $NetBSD: octeon_corereg.h,v 1.5 2020/08/04 01:59:46 simonb Exp $        */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -87,8 +87,17 @@
 #define        CP0_TAGLOD_VALID                        UINT64_C(0x0000000000000001)
 
 /* CvmCtl Register */
+/* CVMCTL_STEPRATE to CVMCTL_TLBBRFTDIS are available on cnMIPS III cores */
 
-#define        CP0_CVMCTL_XXX_63_32                    UINT64_C(0xffffffff00000000)
+#define        CP0_CVMCTL_XXX_63_43                    UINT64_C(0xfffff80000000000)
+#define        CP0_CVMCTL_STEPRATE                     UINT64_C(0x0000078000000000)
+#define        CP0_CVMCTL_ZUC                          UINT64_C(0x0000004000000000)
+#define        CP0_CVMCTL_CAMELLIA                     UINT64_C(0x0000002000000000)
+#define        CP0_CVMCTL_USEMAK                       UINT64_C(0x0000001000000000)
+#define        CP0_CVMCTL_SMS4                         UINT64_C(0x0000000800000000)
+#define        CP0_CVMCTL_DISABLEPAUSE                 UINT64_C(0x0000000400000000)
+#define        CP0_CVMCTL_SNOW3G                       UINT64_C(0x0000000200000000)
+#define        CP0_CVMCTL_TLBBRFTDIS                   UINT64_C(0x0000000100000000)
 #define        CP0_CVMCTL_FUSE_STARTBIT                UINT64_C(0x0000000080000000)
 #define        CP0_CVMCTL_XXX_30                       UINT64_C(0x0000000040000000)
 #define        CP0_CVMCTL_KASUMI                       UINT64_C(0x0000000020000000)



Home | Main Index | Thread Index | Old Index