Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Operate Hypersparc cache in write-back ...



details:   https://anonhg.NetBSD.org/src/rev/1b3fe9cbbaf1
branches:  trunk
changeset: 473108:1b3fe9cbbaf1
user:      pk <pk%NetBSD.org@localhost>
date:      Thu May 20 10:06:39 1999 +0000

description:
Operate Hypersparc cache in write-back mode again.
Remove `hypersparc under construction' message.

diffstat:

 sys/arch/sparc/sparc/cpu.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 644751c612f7 -r 1b3fe9cbbaf1 sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c        Thu May 20 10:03:12 1999 +0000
+++ b/sys/arch/sparc/sparc/cpu.c        Thu May 20 10:06:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.92 1999/03/31 14:09:09 pk Exp $ */
+/*     $NetBSD: cpu.c,v 1.93 1999/05/20 10:06:39 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1090,7 +1090,7 @@
 /* ROSS Hypersparc */
 struct module_info module_hypersparc = {               /* UNTESTED */
        CPUTYP_UNKNOWN,
-       VAC_WRITETHROUGH, /* should be:VAC_NONE/VAC_WRITEBACK*/
+       VAC_WRITEBACK,
        cpumatch_hypersparc,
        getcacheinfo_obp,
        0,
@@ -1117,10 +1117,8 @@
        int     node;
 {
        sc->cpu_type = CPUTYP_HS_MBUS;/*XXX*/
-sc->flags |= CPUFLG_CACHE_MANDATORY;
        if (node == 0)
                sta(0, ASI_HICACHECLR, 0);
-       printf("warning: hypersparc support still under construction\n");
 }
 
 void



Home | Main Index | Thread Index | Old Index