summaryrefslogtreecommitdiff
path: root/libpager/pager.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-23 22:12:23 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-23 22:12:23 +0000
commit7e99fcd37b733906550a956582725bd3b9e117d0 (patch)
tree832d64dec004e57afb93b2c8ed6fb670c3324a7d /libpager/pager.h
parent2df378f58773c35e675427889fc292b89136c5ce (diff)
entered into RCS
Diffstat (limited to 'libpager/pager.h')
-rw-r--r--libpager/pager.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/libpager/pager.h b/libpager/pager.h
index 79270aa6..f14302ea 100644
--- a/libpager/pager.h
+++ b/libpager/pager.h
@@ -32,9 +32,13 @@ int pager_demuxer (mach_msg_header_t *inp,
/* Create a new pager. The pager will have a port created for it
(using libports) and will be immediately ready to receive requests.
U_PAGER will be provided to later calls to pager_find_address.
- The pager will have one user reference created. */
+ The pager will have one user reference created. MAY_CACHE and
+ COPY_STRATEGY are the original values of those attributes as
+ for memory_object_ready. */
struct pager *
-pager_create (struct user_pager_info *u_pager);
+pager_create (struct user_pager_info *u_pager,
+ boolean_t may_cache,
+ memory_object_copy_strategy_t copy_strategy);
/* Sync data from pager PAGER to backing store; wait for
all the writes to complete iff WAIT is set. */
@@ -122,13 +126,6 @@ pager_unreference (struct pager *p);
to allocate_port by the pager system. */
extern int pager_port_type;
-/* The user must define this function. Describe for pager PAGER
- the may_cache and copy_strategy attributes for memory_object_ready. */
-void
-pager_report_attributes (struct user_pager_info *pager,
- boolean_t *may_cache,
- memory_object_copy_strategy_t *copy_strategy);
-
/* The user must define this function. For pager PAGER, read one
page from offset PAGE. Set *BUF to be the address of the page,
and set *WRITE_LOCK if the page must be provided read-only.