Removed unused pmap_qenter_flags.
This commit is contained in:
parent
fe0ef1babd
commit
c04c7fbcb7
@ -80,7 +80,6 @@ void pmap_context_rollover(void);
|
||||
vm_offset_t pmap_kextract(vm_offset_t va);
|
||||
void pmap_kenter_flags(vm_offset_t va, vm_offset_t pa, u_long flags);
|
||||
void pmap_kremove_flags(vm_offset_t va);
|
||||
void pmap_qenter_flags(vm_offset_t va, vm_page_t *m, int count, u_long fl);
|
||||
|
||||
int pmap_cache_enter(vm_page_t m, vm_offset_t va);
|
||||
void pmap_cache_remove(vm_page_t m, vm_offset_t va);
|
||||
|
@ -943,22 +943,6 @@ pmap_qenter(vm_offset_t sva, vm_page_t *m, int count)
|
||||
tlb_range_demap(kernel_pmap, sva, sva + (count * PAGE_SIZE) - 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* As above, but take an additional flags argument and call
|
||||
* pmap_kenter_flags().
|
||||
*/
|
||||
void
|
||||
pmap_qenter_flags(vm_offset_t sva, vm_page_t *m, int count, u_long fl)
|
||||
{
|
||||
vm_offset_t va;
|
||||
int i;
|
||||
|
||||
va = sva;
|
||||
for (i = 0; i < count; i++, va += PAGE_SIZE)
|
||||
pmap_kenter_flags(va, VM_PAGE_TO_PHYS(m[i]), fl);
|
||||
tlb_range_demap(kernel_pmap, sva, sva + (count * PAGE_SIZE) - 1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Remove page mappings from kernel virtual address space. Intended for
|
||||
* temporary mappings entered by pmap_qenter.
|
||||
|
Loading…
Reference in New Issue
Block a user