Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 19:48:19 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136482 for review
Message-ID:  <200802291948.m1TJmJoL092634@repoman.freebsd.org>

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

Change 136482 by kmacy@pandemonium:kmacy:xen31 on 2008/02/29 07:28:43

	drivers pass in machine address - don't need to translate from physical

Affected files ...

.. //depot/projects/xen31/sys/i386/xen/pmap.c#43 edit

Differences ...

==== //depot/projects/xen31/sys/i386/xen/pmap.c#43 (text+ko) ====

@@ -1190,10 +1190,7 @@
 PMAP_INLINE void 
 pmap_kenter_attr(vm_offset_t va, vm_paddr_t pa, int mode)
 {
-	pt_entry_t *pte;
-
-	pte = vtopte(va);
-	pte_store(pte, pa | PG_RW | PG_V | pgeflag | pmap_cache_bits(mode, 0));
+	PT_SET_MA(va, pa | PG_RW | PG_V | pgeflag | pmap_cache_bits(mode, 0));
 }
 
 /*



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