FreeBSD/sys/arm64/arm64/pmap.c
/*
 * Checks if the page is dirty. We currently lack proper tracking of this on
 * arm64 so for now assume is a page mapped as rw was accessed it is.
 */
Checks if the page is dirty. We currently lack proper tracking of this on
arm64 so for now assume is a page mapped as rw was accessed it is.
Checks if the page is dirty . We currently lack proper tracking of this on arm64 so for now assume is a page mapped as rw was accessed it is .
static inline int
pmap_page_dirty(pt_entry_t pte)
{
	return ((pte & (ATTR_AF | ATTR_AP_RW_BIT)) ==
	    (ATTR_AF | ATTR_AP(ATTR_AP_RW)));
}
static inline int pmap_page_dirty ( pt_entry_t pte ) { return ( ( pte & ( ATTR_AF | ATTR_AP_RW_BIT ) ) == ( ATTR_AF | ATTR_AP ( ATTR_AP_RW ) ) ) ; }
Checks if the page is dirty.
Checks if the page is dirty .