aboutsummaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-04-24 23:53:52 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-25 22:12:00 +0200
commit0afac7ab288a2a259bbc6bdb7e20b686b3913274 (patch)
treebe7b66587fa09204a9e16462242c0b47335170e0 /trans
parenta3cf2656cabaf5691a4e45302eea879791917e2b (diff)
downloadhurd-0afac7ab288a2a259bbc6bdb7e20b686b3913274.tar.gz
hurd-0afac7ab288a2a259bbc6bdb7e20b686b3913274.tar.bz2
hurd-0afac7ab288a2a259bbc6bdb7e20b686b3913274.zip
Use c_string for default_pager_filename_t to define a new default_pager_paging_storage RPC.
This brings us a bit closer to having all types' msgt_size representable with a single byte. We will be able to avoid mach_msg_type_long_t entirely for x86_64 since mach_msg_type_t can represent long types using a separate field. Message-Id: <ZEdO0Grm2AUw4Tfe@jupiter.tail36e24.ts.net>
Diffstat (limited to 'trans')
-rw-r--r--trans/proxy-defpager.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c
index 878beffe..5d952546 100644
--- a/trans/proxy-defpager.c
+++ b/trans/proxy-defpager.c
@@ -113,6 +113,17 @@ S_default_pager_paging_storage (mach_port_t default_pager,
}
kern_return_t
+S_default_pager_paging_storage_new (mach_port_t default_pager,
+ mach_port_t device,
+ const recnum_t *runs, mach_msg_type_number_t nruns,
+ const_default_pager_filename_t name,
+ boolean_t add)
+{
+ return S_default_pager_paging_storage (default_pager,
+ device, runs, nruns, name, add);
+}
+
+kern_return_t
S_default_pager_object_set_size (mach_port_t memory_object,
mach_port_seqno_t seqno,
vm_size_t object_size_limit)