* This routine tears out page mappings from the * kernel -- it is meant only for temporary mappings. * Note: SMP coherent. Uses a ranged shootdown IPI. */
| 3878 | * Note: SMP coherent. Uses a ranged shootdown IPI. |
| 3879 | */ |
| 3880 | void |
| 3881 | pmap_qremove(vm_offset_t sva, int count) |
| 3882 | { |
| 3883 | vm_offset_t va; |
| 3884 | |
| 3885 | va = sva; |
| 3886 | while (count-- > 0) { |
| 3887 | KASSERT(va >= VM_MIN_KERNEL_ADDRESS, ("usermode va %lx", va)); |
| 3888 | pmap_kremove(va); |
| 3889 | va += PAGE_SIZE; |
| 3890 | } |
| 3891 | pmap_invalidate_range(kernel_pmap, sva, va); |
| 3892 | } |
| 3893 | |
| 3894 | /*************************************************** |
| 3895 | * Page table page management routines..... |
no test coverage detected