FreeBSD/sys/arm64/arm64/pmap.c
/*
 * Sets the memory attribute for the specified page.
 */
Sets the memory attribute for the specified page.
Sets the memory attribute for the specified page .
void
pmap_page_set_memattr(vm_page_t m, vm_memattr_t ma)
{
	m->md.pv_memattr = ma;
	if ((m->flags & PG_FICTITIOUS) == 0 &&
	    PHYS_IN_DMAP(VM_PAGE_TO_PHYS(m)))
		panic("ARM64TODO: pmap_page_set_memattr");
}
void pmap_page_set_memattr ( vm_page_t m , vm_memattr_t ma ) { m -> md . pv_memattr = ma ; if ( ( m -> flags & PG_FICTITIOUS ) == 0 && PHYS_IN_DMAP ( VM_PAGE_TO_PHYS ( m ) ) ) panic ( " " ) ; }
Sets the memory attribute for the specified page.
Sets the memory attribute for the specified page .
/*
	 * ARM64TODO: Implement the below (from the amd64 pmap)
	 * If "m" is a normal page, update its direct mapping.  This update
	 * can be relied upon to perform any cache operations that are
	 * required for data coherence.
	 */