Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/pmax/pmax Pull up rev 1.24 [approved by thorpej].



details:   https://anonhg.NetBSD.org/src/rev/13bac697aa9c
branches:  netbsd-1-5
changeset: 489597:13bac697aa9c
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Sat Sep 30 01:46:48 2000 +0000

description:
Pull up rev 1.24 [approved by thorpej].

Need to use MachHitFlushDCache() for the MIPS3 to ensure invalidating
both the primary and the secondary caches.  MachFlushDCache() will not
invalidate the correct secondary cache lines for KSEG2 addresses.
R4000 systems should now be able to boot and run.

diffstat:

 sys/arch/pmax/pmax/bus_dma.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 70c4c3e595c0 -r 13bac697aa9c sys/arch/pmax/pmax/bus_dma.c
--- a/sys/arch/pmax/pmax/bus_dma.c      Sat Sep 30 01:46:09 2000 +0000
+++ b/sys/arch/pmax/pmax/bus_dma.c      Sat Sep 30 01:46:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.20.4.1 2000/06/30 16:27:34 simonb Exp $  */
+/*     $NetBSD: bus_dma.c,v 1.20.4.2 2000/09/30 01:46:48 mhitch Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -510,7 +510,7 @@
                    addr + offset + minlen - 1);
 #endif
                if (CPUISMIPS3)
-                       MachFlushDCache(addr + offset, minlen);
+                       MachHitFlushDCache(addr + offset, minlen);
                else {
                        /*
                         * We can't have a TLB miss; use KSEG0.



Home | Main Index | Thread Index | Old Index