o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
the PG_MAPPED flag.
This commit is contained in:
parent
6ba81e778e
commit
8365d52166
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user