| 259 | } |
| 260 | |
| 261 | static __inline vm_offset_t |
| 262 | pmap_lmem_map2(vm_paddr_t phys1, vm_paddr_t phys2) |
| 263 | { |
| 264 | critical_enter(); |
| 265 | *PCPU_GET(cmap1_ptep) = |
| 266 | TLBLO_PA_TO_PFN(phys1) | PTE_C_CACHE | PTE_D | PTE_V | PTE_G; |
| 267 | *PCPU_GET(cmap2_ptep) = |
| 268 | TLBLO_PA_TO_PFN(phys2) | PTE_C_CACHE | PTE_D | PTE_V | PTE_G; |
| 269 | return (PCPU_GET(cmap1_addr)); |
| 270 | } |
| 271 | |
| 272 | static __inline void |
| 273 | pmap_lmem_unmap(void) |
no test coverage detected