Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev Fix D$ aliasing issues in a DIAGNOSTIC ...



details:   https://anonhg.NetBSD.org/src/rev/e92907adbf12
branches:  trunk
changeset: 503461:e92907adbf12
user:      eeh <eeh%NetBSD.org@localhost>
date:      Tue Feb 06 19:04:57 2001 +0000

description:
Fix D$ aliasing issues in a DIAGNOSTIC check.

diffstat:

 sys/arch/sparc64/dev/iommu.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3efc70a7570d -r e92907adbf12 sys/arch/sparc64/dev/iommu.c
--- a/sys/arch/sparc64/dev/iommu.c      Tue Feb 06 18:48:41 2001 +0000
+++ b/sys/arch/sparc64/dev/iommu.c      Tue Feb 06 19:04:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iommu.c,v 1.29 2001/01/28 01:26:57 martin Exp $        */
+/*     $NetBSD: iommu.c,v 1.30 2001/02/06 19:04:57 eeh Exp $   */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -435,7 +435,7 @@
                microtime(&cur);
 
 #ifdef DIAGNOSTIC
-       if (!is->is_flush) {
+       if (!ldxa(is->is_flushpa, ASI_PHYS_CACHED)) {
                printf("iommu_strbuf_flush: flush timeout %p at %p\n",
                    (void *)(u_long)is->is_flush, 
                    (void *)(u_long)is->is_flushpa); /* panic? */



Home | Main Index | Thread Index | Old Index