summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pager.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-12 20:49:58 +0000
committerkib <kib@FreeBSD.org>2012-05-12 20:49:58 +0000
commit81841e52c639e6ba0458cee0f1e25b1b2857cb96 (patch)
treebc20093a4c12f2f5f1f0c7cde134a59736672853 /sys/vm/vm_pager.h
parent2bbcb90c8497481a621bfdc8f51f8dee788890ca (diff)
downloadFreeBSD-src-81841e52c639e6ba0458cee0f1e25b1b2857cb96.zip
FreeBSD-src-81841e52c639e6ba0458cee0f1e25b1b2857cb96.tar.gz
Add new pager type, OBJT_MGTDEVICE. It provides the device pager
which carries fictitous managed pages. In particular, the consumers of the new object type can remove all mappings of the device page with pmap_remove_all(). The range of physical addresses used for fake page allocation shall be registered with vm_phys_fictitious_reg_range() interface to allow the PHYS_TO_VM_PAGE() to work in pmap. Most likely, only i386 and amd64 pmaps can handle fictitious managed pages right now. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
Diffstat (limited to 'sys/vm/vm_pager.h')
-rw-r--r--sys/vm/vm_pager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h
index c361be8..bb7a5ec 100644
--- a/sys/vm/vm_pager.h
+++ b/sys/vm/vm_pager.h
@@ -71,6 +71,7 @@ extern struct pagerops vnodepagerops;
extern struct pagerops devicepagerops;
extern struct pagerops physpagerops;
extern struct pagerops sgpagerops;
+extern struct pagerops mgtdevicepagerops;
/*
* get/put return values
OpenPOWER on IntegriCloud