Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 01:22:23 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94965 for review
Message-ID:  <200604110122.k3B1MNho065509@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94965

Change 94965 by jmg@jmg_carbon-60 on 2006/04/11 01:21:22

	use iottebase instead of dvmaddr, which is long past where we are
	suppose to map..

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hviommu.c#7 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hviommu.c#7 (text+ko) ====

@@ -622,7 +622,7 @@
 			iottebase = trunc_io_page(dvmaddr);
 		iottes[iottecnt] = MAKEIOTTE(trunc_io_page(curaddr), 1, 0, 0);
 		if (iottecnt >= IOTTE_CNT) {
-			hviommu_map_pages(him, dvmaddr, iottes, iottecnt);
+			hviommu_map_pages(him, iottebase, iottes, iottecnt);
 			iottecnt = 0;
 		}
 #endif
@@ -658,7 +658,7 @@
 
 		firstpg = 0;
 	}
-	hviommu_map_pages(him, dvmaddr, iottes, iottecnt);
+	hviommu_map_pages(him, iottebase, iottes, iottecnt);
 	*segp = sgcnt;
 	return (0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604110122.k3B1MNho065509>