Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx According to "PPC405GP Embedded Proc...



details:   https://anonhg.NetBSD.org/src/rev/1ce4868f7c5a
branches:  trunk
changeset: 982059:1ce4868f7c5a
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 30 02:27:00 2021 +0000

description:
According to "PPC405GP Embedded Processor User’s Manual",
405GP has 16KB instruction cache, not 8KB.

diffstat:

 sys/arch/powerpc/ibm4xx/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 988347a27ae4 -r 1ce4868f7c5a sys/arch/powerpc/ibm4xx/cpu.c
--- a/sys/arch/powerpc/ibm4xx/cpu.c     Tue Mar 30 02:25:24 2021 +0000
+++ b/sys/arch/powerpc/ibm4xx/cpu.c     Tue Mar 30 02:27:00 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.36 2021/03/05 07:11:24 rin Exp $     */
+/*     $NetBSD: cpu.c,v 1.37 2021/03/30 02:27:00 rin Exp $     */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.36 2021/03/05 07:11:24 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.37 2021/03/30 02:27:00 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -176,7 +176,7 @@
                .ci = {
                        .dcache_size = 8192,
                        .dcache_line_size = 32,
-                       .icache_size = 8192,
+                       .icache_size = 16384,
                        .icache_line_size = 32,
                }
        }, {


Home | Main Index | Thread Index | Old Index