* Fills L2 page table page with mappings to consecutive physical pages. */
| 3670 | * Fills L2 page table page with mappings to consecutive physical pages. |
| 3671 | */ |
| 3672 | static __inline void |
| 3673 | pmap_fill_pt2(pt2_entry_t *fpte2p, pt2_entry_t npte2) |
| 3674 | { |
| 3675 | pt2_entry_t *pte2p; |
| 3676 | |
| 3677 | for (pte2p = fpte2p; pte2p < fpte2p + NPTE2_IN_PT2; pte2p++) { |
| 3678 | pte2_store(pte2p, npte2); |
| 3679 | npte2 += PTE2_SIZE; |
| 3680 | } |
| 3681 | } |
| 3682 | |
| 3683 | /* |
| 3684 | * Tries to demote a 1MB page mapping. If demotion fails, the |
no test coverage detected