o Introduce pmap_page_is_mapped(). Its purpose is to obsolete
the PG_MAPPED flag.
This commit is contained in:
parent
c3937c148e
commit
c6a8177502
@ -63,6 +63,7 @@ struct md_page {
|
||||
extern struct pmap kernel_pmap_store;
|
||||
#define kernel_pmap (&kernel_pmap_store)
|
||||
|
||||
#define pmap_page_is_mapped(m) (!LIST_EMPTY(&(m)->md.mdpg_pvoh))
|
||||
#define pmap_resident_count(pm) (pm->pm_stats.resident_count)
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user