diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-23 17:12:32 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-23 17:12:32 +0000 |
commit | 90157cf2fb5ceba43c5ccbfccc31b31bc915cd52 (patch) | |
tree | 3bb1f18ac3abc128f5e6e11e7b0f22fcc3860a9f /libpager | |
parent | 28fbdacc736106800a5cd4b418abe398bc1f0997 (diff) |
entered into RCS
Diffstat (limited to 'libpager')
-rw-r--r-- | libpager/pager-create.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libpager/pager-create.c b/libpager/pager-create.c index 9de7ba4a..d9d8a2d4 100644 --- a/libpager/pager-create.c +++ b/libpager/pager-create.c @@ -19,7 +19,9 @@ /* Create and return a new pager with user info UPI. */ struct pager * -pager_create (struct user_pager_info *upi) +pager_create (struct user_pager_info *upi, + boolean_t may_cache, + memory_object_copy_strategy_t copy_strategy) { struct pager *p; @@ -31,6 +33,8 @@ pager_create (struct user_pager_info *upi) condition_init (&p->wakeup); p->lock_requests = 0; p->attribute_requests = 0; + p->may_cache = may_cache; + p->copy_strategy = copy_strategy; p->memobjcntl = MACH_PORT_NULL; p->memobjname = MACH_PORT_NULL; p->seqno = -1; @@ -39,7 +43,7 @@ pager_create (struct user_pager_info *upi) p->waitingforseqno = 0; p->pagemap = 0; p->pagemapsize = 0; - + return p; } |