FreeBSD/sys/arm/arm/pmap-v6.c
/*
 *  Make a temporary mapping for a physical address.
 *  This is only intended to be used for panic dumps.
 */
Make a temporary mapping for a physical address.
This is only intended to be used for panic dumps.
Make a temporary mapping for a physical address . This is only intended to be used for panic dumps .
void *
pmap_kenter_temporary(vm_paddr_t pa, int i)
{
	vm_offset_t va;
	va = (vm_offset_t)crashdumpmap + (i * PAGE_SIZE);
	pmap_kenter(va, pa);
	tlb_flush_local(va);
	return ((void *)crashdumpmap);
}
void * pmap_kenter_temporary ( vm_paddr_t pa , int i ) { vm_offset_t va ; va = ( vm_offset_t ) crashdumpmap + ( i * PAGE_SIZE ) ; pmap_kenter ( va , pa ) ; tlb_flush_local ( va ) ; return ( ( void * ) crashdumpmap ) ; }
Make a temporary mapping for a physical address.
Make a temporary mapping for a physical address .
/* QQQ: 'i' should be less or equal to MAXDUMPPGS. */