register vm_offset_t sva; register vm_offset_t eva;
register vaddr_t sva; register vaddr_t eva;
pmap_remove(pmap, sva, eva)	register pmap_t pmap;	register vm_offset_t sva;	register vm_offset_t eva;{	register struct pv_entry *pv;	register pa_space_t space;#ifdef PMAPDEBUG	if (pmapdebug & PDB_FOLLOW)		printf("pmap_remove(%p, %x, %x)\n", pmap, sva, eva);#endif	if(!pmap)		return;	simple_lock(&pmap->pmap_lock);	space = pmap_sid(pmap, sva);	while (pmap->pmap_stats.resident_count && ((sva < eva))) {		if ((pv = pmap_find_va(space, sva))) {			pmap_remove_pv(pmap, sva, pv);			pmap->pmap_stats.resident_count--;		}		sva += PAGE_SIZE;	}	simple_unlock(&pmap->pmap_lock);}