PERFORCE change 94965 for review

John-Mark Gurney jmg at FreeBSD.org
Tue Apr 11 01:22:24 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94965

Change 94965 by jmg at 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);
 }


More information about the p4-projects mailing list