diff options
author | Roland McGrath <roland@gnu.org> | 2002-03-24 01:11:58 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-03-24 01:11:58 +0000 |
commit | b08c0190511a921a352549d691f17e91a000493c (patch) | |
tree | ea295359d4abf27277db370894dd5934d4e87105 | |
parent | db823a04edfc94e8c7e60db06ee0447b7a9d8966 (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.
-rw-r--r-- | hurd/default_pager.defs | 9 | ||||
-rw-r--r-- | hurd/default_pager_reply.defs | 17 |
2 files changed, 26 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); diff --git a/hurd/default_pager_reply.defs b/hurd/default_pager_reply.defs new file mode 100644 index 00000000..0f9ff86b --- /dev/null +++ b/hurd/default_pager_reply.defs @@ -0,0 +1,17 @@ +/* Reply half of default_pager.defs. */ + +subsystem default_pager_reply 2375; /* 2275 + 100 */ + +#include <hurd/hurd_types.defs> + +skip; /* default_pager_object_create */ +skip; /* default_pager_info */ +skip; /* default_pager_objects */ +skip; /* default_pager_object_pages */ +skip; /* default_pager_paging_file */ +skip; /* default_pager_register_fileserver */ +skip; /* default_pager_paging_storage */ + +simpleroutine default_pager_object_set_size_reply( + reply_port: mach_port_send_once_t; + RETURN_CODE_ARG); |