diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-04-24 23:53:52 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-25 22:12:00 +0200 |
commit | 0afac7ab288a2a259bbc6bdb7e20b686b3913274 (patch) | |
tree | be7b66587fa09204a9e16462242c0b47335170e0 /mach-defpager | |
parent | a3cf2656cabaf5691a4e45302eea879791917e2b (diff) | |
download | hurd-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 'mach-defpager')
-rw-r--r-- | mach-defpager/setup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mach-defpager/setup.c b/mach-defpager/setup.c index 8cd1fed2..087ede71 100644 --- a/mach-defpager/setup.c +++ b/mach-defpager/setup.c @@ -100,6 +100,16 @@ S_default_pager_paging_storage (mach_port_t pager, return 0; } +kern_return_t +S_default_pager_paging_storage_new (mach_port_t pager, + mach_port_t device, + const recnum_t *runs, mach_msg_type_number_t nrun, + const_default_pager_filename_t name, + boolean_t add) +{ + return S_default_pager_paging_storage (pager, + device, runs, nrun, name, add); +} /* Called to read a page from backing store. */ int |