FreeBSD/sys/arm/arm/pmap-v6.c
/*
 *  Share new kernel PT2PG with all pmaps.
 *  The caller is responsible for maintaining TLB consistency.
 */
Share new kernel PT2PG with all pmaps.
The caller is responsible for maintaining TLB consistency.
Share new kernel PT2PG with all pmaps . The caller is responsible for maintaining TLB consistency .
static void
pmap_kenter_pt2tab(vm_offset_t va, pt2_entry_t npte2)
{
	pmap_t pmap;
	pt2_entry_t *pte2p;
	mtx_lock_spin(&allpmaps_lock);
	LIST_FOREACH(pmap, &allpmaps, pm_list) {
		pte2p = pmap_pt2tab_entry(pmap, va);
		pt2tab_store(pte2p, npte2);
	}
	mtx_unlock_spin(&allpmaps_lock);
}
static void pmap_kenter_pt2tab ( vm_offset_t va , pt2_entry_t npte2 ) { pmap_t pmap ; pt2_entry_t * pte2p ; mtx_lock_spin ( & allpmaps_lock ) ; LIST_FOREACH ( pmap , & allpmaps , pm_list ) { pte2p = pmap_pt2tab_entry ( pmap , va ) ; pt2tab_store ( pte2p , npte2 ) ; } mtx_unlock_spin ( & allpmaps_lock ) ; }
Share new kernel PT2PG with all pmaps.
Share new kernel PT2PG with all pmaps .