PERFORCE change 136241 for review
Randall R. Stewart
rrs at FreeBSD.org
Tue Feb 26 14:16:00 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=136241
Change 136241 by rrs at rrs-mips2-jnpr on 2008/02/26 14:15:13
Changes needed to make it compile with the new
argument in pmap_enter. We ignore this arg for now.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/pmap.c#23 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/pmap.c#23 (text+ko) ====
@@ -1690,7 +1690,7 @@
* insert this page into the given map NOW.
*/
void
-pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
+pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t fault_type, vm_page_t m, vm_prot_t prot,
boolean_t wired)
{
vm_offset_t pa, opa;
@@ -2074,7 +2074,12 @@
psize = atop(end - start);
m = m_start;
while (m != NULL && (diff = m->pindex - m_start->pindex) < psize) {
- pmap_enter(pmap, start + ptoa(diff), m, prot &
+ /* FIX ME FIX ME - prot is passed in both the
+ * the normal spot m, prot but also as the fault_type
+ * which we don't use. If we ever use it in pmap_enter
+ * we will have to fix this.
+ */
+ pmap_enter(pmap, start + ptoa(diff), prot, m, prot &
(VM_PROT_READ | VM_PROT_EXECUTE), FALSE);
m = TAILQ_NEXT(m, listq);
}
More information about the p4-projects
mailing list