FreeBSD/sys/arm/arm/pmap-v6.c
/*
 *  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.
 */
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.
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 .
void
pmap_page_init(vm_page_t m)
{
	TAILQ_INIT(&m->md.pv_list);
	pt2_wirecount_init(m);
	m->md.pat_mode = VM_MEMATTR_DEFAULT;
}
void pmap_page_init ( vm_page_t m ) { TAILQ_INIT ( & m -> md . pv_list ) ; pt2_wirecount_init ( m ) ; m -> md . pat_mode = VM_MEMATTR_DEFAULT ; }
Initialize a vm_page's machine-dependent fields.
Initialize a vm_page ' s machine - dependent fields .