FreeBSD/sys/arm/arm/pmap-v4.c
/*
 * Add a list of wired pages to the kva
 * this routine is only used for temporary
 * kernel mappings that do not need to have
 * page modification or references recorded.
 * Note that old mappings are simply written
 * over.  The page *must* be wired.
 */
Add a list of wired pages to the kva
this routine is only used for temporary
kernel mappings that do not need to have
page modification or references recorded.
Note that old mappings are simply written
over.  The page *must* be wired.
Add a list of wired pages to the kva this routine is only used for temporary kernel mappings that do not need to have page modification or references recorded . Note that old mappings are simply written over . The page * must * be wired .
void
pmap_qenter(vm_offset_t va, vm_page_t *m, int count)
{
	int i;
	for (i = 0; i < count; i++) {
		pmap_wb_page(m[i]);
		pmap_kenter_internal(va, VM_PAGE_TO_PHYS(m[i]),
		    KENTER_CACHE);
		va += PAGE_SIZE;
	}
}
void pmap_qenter ( vm_offset_t va , vm_page_t * m , int count ) { int i ; for ( i = 0 ; i < count ; i ++ ) { pmap_wb_page ( m [ i ] ) ; pmap_kenter_internal ( va , VM_PAGE_TO_PHYS ( m [ i ] ) , KENTER_CACHE ) ; va += PAGE_SIZE ; } }
Add a list of wired pages to the kva
 this routine is only used for temporary
 kernel mappings that do not need to have
 page modification or references recorded.
Add a list of wired pages to the kva this routine is only used for temporary kernel mappings that do not need to have page modification or references recorded .