* This routine tears out page mappings from the * kernel -- it is meant only for temporary mappings. * Note: SMP coherent. Uses a ranged shootdown IPI. */
| 1833 | * Note: SMP coherent. Uses a ranged shootdown IPI. |
| 1834 | */ |
| 1835 | void |
| 1836 | pmap_qremove(vm_offset_t sva, int count) |
| 1837 | { |
| 1838 | vm_offset_t va; |
| 1839 | |
| 1840 | va = sva; |
| 1841 | while (count-- > 0) { |
| 1842 | pmap_kremove(va); |
| 1843 | va += PAGE_SIZE; |
| 1844 | } |
| 1845 | tlb_flush_range(sva, va - sva); |
| 1846 | } |
| 1847 | |
| 1848 | /* |
| 1849 | * Are we current address space or kernel? |
no test coverage detected