summaryrefslogtreecommitdiff
path: root/hurd/default_pager.defs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-24 01:11:58 +0000
committerRoland McGrath <roland@gnu.org>2002-03-24 01:11:58 +0000
commitb08c0190511a921a352549d691f17e91a000493c (patch)
treeea295359d4abf27277db370894dd5934d4e87105 /hurd/default_pager.defs
parentdb823a04edfc94e8c7e60db06ee0447b7a9d8966 (diff)
2002-03-23 Roland McGrath <roland@frob.com>
* default_pager.defs (default_pager_object_set_size): New RPC. * default_pager_reply.defs: New file.
Diffstat (limited to 'hurd/default_pager.defs')
-rw-r--r--hurd/default_pager.defs9
1 files changed, 9 insertions, 0 deletions
diff --git a/hurd/default_pager.defs b/hurd/default_pager.defs
index effcd7d7..7b1549a0 100644
--- a/hurd/default_pager.defs
+++ b/hurd/default_pager.defs
@@ -85,3 +85,12 @@ routine default_pager_paging_storage(
array[] of recnum_t;
name : default_pager_filename_t;
add : boolean_t);
+
+/* This call is made on a memory object returned by default_pager_object_create
+ to fix the object's maximum size. Any references to pages beyond the limit
+ will fail. */
+routine default_pager_object_set_size(
+ memory_object : mach_port_t;
+ sreplyport reply_port : mach_port_send_once_t;
+ msgseqno seqno : mach_port_seqno_t;
+ object_size_limit : vm_size_t);