diff options
Diffstat (limited to 'hurd')
-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); |