o Introduce pmap_page_is_mapped(). Its purpose is to obsolete

the PG_MAPPED flag.
This commit is contained in:
Alan Cox 2002-08-05 03:40:28 +00:00
parent 6ba81e778e
commit 8365d52166
2 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,7 @@ struct pmap {
LIST_ENTRY(pmap) pm_list; /* List of all pmaps */
};
#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list))
#define pmap_resident_count(pmap) (pmap)->pm_stats.resident_count
typedef struct pmap *pmap_t;

View File

@ -206,6 +206,7 @@ struct pmap {
LIST_ENTRY(pmap) pm_list; /* List of all pmaps */
};
#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list))
#define pmap_resident_count(pmap) (pmap)->pm_stats.resident_count
typedef struct pmap *pmap_t;