FreeBSD/sys/arm/arm/pmap-v6.c
/*
 *  Create the pv entries for each of the pages within a section.
 */
Create the pv entries for each of the pages within a section.
Create the pv entries for each of the pages within a section .
static boolean_t
pmap_pv_insert_pte1(pmap_t pmap, vm_offset_t va, vm_paddr_t pa)
{
	struct md_page *pvh;
	pv_entry_t pv;
	rw_assert(&pvh_global_lock, RA_WLOCKED);
	if (pv_entry_count < pv_entry_high_water &&
	    (pv = get_pv_entry(pmap, TRUE)) != NULL) {
		pv->pv_va = va;
		pvh = pa_to_pvh(pa);
		TAILQ_INSERT_TAIL(&pvh->pv_list, pv, pv_next);
		return (TRUE);
	} else
		return (FALSE);
}
static boolean_t pmap_pv_insert_pte1 ( pmap_t pmap , vm_offset_t va , vm_paddr_t pa ) { struct md_page * pvh ; pv_entry_t pv ; rw_assert ( & pvh_global_lock , RA_WLOCKED ) ; if ( pv_entry_count < pv_entry_high_water && ( pv = get_pv_entry ( pmap , TRUE ) ) != NULL ) { pv -> pv_va = va ; pvh = pa_to_pvh ( pa ) ; TAILQ_INSERT_TAIL ( & pvh -> pv_list , pv , pv_next ) ; return ( TRUE ) ; } else return ( FALSE ) ; }
Create the pv entries for each of the pages within a section.
Create the pv entries for each of the pages within a section .