Date: Tue, 26 Feb 2008 14:15:59 GMT From: "Randall R. Stewart" <rrs@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 136241 for review Message-ID: <200802261415.m1QEFxLw046276@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=136241 Change 136241 by rrs@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); }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802261415.m1QEFxLw046276>
