Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/cortex pl310 cache is PIPT



details:   https://anonhg.NetBSD.org/src/rev/49995f61aecb
branches:  trunk
changeset: 327918:49995f61aecb
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Mar 20 22:28:37 2014 +0000

description:
pl310 cache is PIPT

diffstat:

 sys/arch/arm/cortex/pl310.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 01abfc05262a -r 49995f61aecb sys/arch/arm/cortex/pl310.c
--- a/sys/arch/arm/cortex/pl310.c       Thu Mar 20 22:24:32 2014 +0000
+++ b/sys/arch/arm/cortex/pl310.c       Thu Mar 20 22:28:37 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pl310.c,v 1.13 2014/02/23 21:19:06 matt Exp $  */
+/*     $NetBSD: pl310.c,v 1.14 2014/03/20 22:28:37 matt Exp $  */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.13 2014/02/23 21:19:06 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pl310.c,v 1.14 2014/03/20 22:28:37 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -265,6 +265,8 @@
        info->dcache_ways = 8 << __SHIFTOUT(cfg_dsize, CACHE_TYPE_xASSOC);
        info->dcache_line_size = 32 << __SHIFTOUT(cfg_dsize, CACHE_TYPE_xLINESIZE);
        info->dcache_size = info->dcache_ways * d_waysize;
+       info->dcache_type = CACHE_TYPE_PIPT;
+       info->icache_type = CACHE_TYPE_PIPT;
 
        if (info->cache_unified) {
                info->icache_ways = info->dcache_ways;



Home | Main Index | Thread Index | Old Index