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

Function pmap_page_init

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

* Initialize a vm_page's machine-dependent fields. * * Variations: * 1. Pages for L2 page tables are always not managed. So, pv_list and * pt2_wirecount can share same physical space. However, proper * initialization on a page alloc for page tables and reinitialization * on the page free must be ensured. */

Source from the content-addressed store, hash-verified

1614 * on the page free must be ensured.
1615 */
1616void
1617pmap_page_init(vm_page_t m)
1618{
1619
1620 TAILQ_INIT(&m->md.pv_list);
1621 pt2_wirecount_init(m);
1622 m->md.pat_mode = VM_MEMATTR_DEFAULT;
1623}
1624
1625/*
1626 * Virtualization for faster way how to zero whole page.

Callers

nothing calls this directly

Calls 1

pt2_wirecount_initFunction · 0.85

Tested by

no test coverage detected