Source-Changes-HG archive

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

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Tweak cpu cache description



details:   https://anonhg.NetBSD.org/src/rev/f9bd931ff449
branches:  sommerfeld_i386mp_1
changeset: 482535:f9bd931ff449
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun May 19 02:37:48 2002 +0000

description:
Tweak cpu cache description

diffstat:

 sys/arch/i386/i386/machdep.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r e7d2034eac77 -r f9bd931ff449 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Sun May 19 01:15:12 2002 +0000
+++ b/sys/arch/i386/i386/machdep.c      Sun May 19 02:37:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.376.2.37 2002/05/19 01:15:12 sommerfeld Exp $    */
+/*     $NetBSD: machdep.c,v 1.376.2.38 2002/05/19 02:37:48 sommerfeld Exp $    */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.376.2.37 2002/05/19 01:15:12 sommerfeld Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.376.2.38 2002/05/19 02:37:48 sommerfeld Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -284,9 +284,9 @@
        { CAI_DCACHE,   0x66,  4,        8 * 1024, 64 },
        { CAI_DCACHE,   0x67,  4,       16 * 1024, 64 },
        { CAI_DCACHE,   0x68,  4,       32 * 1024, 64 },
-       { CAI_ICACHE,   0x70,  8,       12 * 1024, 64, "12K uOp cache 8-way"},
-       { CAI_ICACHE,   0x71,  8,       16 * 1024, 64, "16K uOp cache 8-way"},
-       { CAI_ICACHE,   0x72,  8,       32 * 1024, 64, "32K uOp cache 8-way"},
+       { CAI_ICACHE,   0x70,  8,       12 * 1024, 64, "12K uOp cache"},
+       { CAI_ICACHE,   0x71,  8,       16 * 1024, 64, "16K uOp cache"},
+       { CAI_ICACHE,   0x72,  8,       32 * 1024, 64, "32K uOp cache"},
        { CAI_L2CACHE,  0x79,  8,      128 * 1024, 64 },
        { CAI_L2CACHE,  0x7a,  8,      256 * 1024, 64 },
        { CAI_L2CACHE,  0x7b,  8,      512 * 1024, 64 },
@@ -356,7 +356,7 @@
                printf("%s ", name);
 
        if (cai->cai_string != NULL) {
-               printf("%s", cai->cai_string);
+               printf("%s ", cai->cai_string);
        } else {
                format_bytes(cbuf, sizeof(cbuf), cai->cai_totalsize);
                printf("%s %db/line ", cbuf, cai->cai_linesize);



Home | Main Index | Thread Index | Old Index