MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pmap_fill_pt2

Function pmap_fill_pt2

freebsd/arm/arm/pmap-v6.c:3672–3681  ·  view source on GitHub ↗

* Fills L2 page table page with mappings to consecutive physical pages. */

Source from the content-addressed store, hash-verified

3670 * Fills L2 page table page with mappings to consecutive physical pages.
3671 */
3672static __inline void
3673pmap_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

Callers 1

pmap_demote_pte1Function · 0.85

Calls 1

pte2_storeFunction · 0.85

Tested by

no test coverage detected