Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/oea add instruction cache throttlin...



details:   https://anonhg.NetBSD.org/src/rev/3473aadbdad2
branches:  trunk
changeset: 339240:3473aadbdad2
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Jul 07 15:41:46 2015 +0000

description:
add instruction cache throttling SPR found on 750

diffstat:

 sys/arch/powerpc/include/oea/spr.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 993e866b05a2 -r 3473aadbdad2 sys/arch/powerpc/include/oea/spr.h
--- a/sys/arch/powerpc/include/oea/spr.h        Tue Jul 07 13:07:10 2015 +0000
+++ b/sys/arch/powerpc/include/oea/spr.h        Tue Jul 07 15:41:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spr.h,v 1.2 2012/02/01 05:25:57 matt Exp $     */
+/*     $NetBSD: spr.h,v 1.3 2015/07/07 15:41:46 macallan Exp $ */
 
 #ifndef _POWERPC_OEA_SPR_H_
 #define        _POWERPC_OEA_SPR_H_
@@ -262,6 +262,9 @@
 #define          L3CR_L3DO               0x00000040 /* 25: L3 data-only mode */
 #define          L3CR_PMEN               0x00000004 /* 29: Private memory enable */
 #define          L3CR_PMSIZ              0x00000004 /* 31: Private memory size (0=1MB, 1=2MB) */
+#define SPR_ICTC               0x3fb   /* ..6. instruction cache throttling */
+#define  ICTC_ENABLE             0x00000001 /* enable throttling */
+#define  ICTC_COUNT_M            0x000001fe /* number of waits to insert */
 #define        SPR_THRM1               0x3fc   /* ..6. Thermal Management Register */
 #define        SPR_THRM2               0x3fd   /* ..6. Thermal Management Register */
 #define         SPR_THRM_TIN             0x80000000 /* Thermal interrupt bit (RO) */



Home | Main Index | Thread Index | Old Index