diff options
author | Richard Braun <rbraun@sceen.net> | 2016-12-24 02:57:36 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-12-24 03:16:00 +0100 |
commit | 92e3b0a3c3ba90c90605debf6e149e5a4b8d9a8f (patch) | |
tree | f79640022bdcfda93fe5ab29bfbc800d33b1c95a /mach-defpager/wiring.h | |
parent | ee4795884ec145303115ac1bd88878684df46118 (diff) | |
download | hurd-92e3b0a3c3ba90c90605debf6e149e5a4b8d9a8f.tar.gz hurd-92e3b0a3c3ba90c90605debf6e149e5a4b8d9a8f.tar.bz2 hurd-92e3b0a3c3ba90c90605debf6e149e5a4b8d9a8f.zip |
mach-defpager: make the default pager use vm_wire_all
The vm_wire_all call was recently added to GNU Mach so that the
default pager doesn't depend on glibc malloc hooks any more.
* mach-defpager/default_pager.c
(start_default_pager_thread): Remove call to wire_memory.
* mach-defpager/kalloc.c (kget_space): Likewise.
* mach-defpager/wiring.c: Include mach/gnumach.h.
(wire_memory): Remove function.
(wire_all_memory): Replace call to wire_memory with a direct call
to vm_wire, call vm_wire_all after the fixup loop.
(vm_allocate, __vm_allocate): Remove functions.
* mach-defpager/wiring.h (wire_memory): Remove function.
Diffstat (limited to 'mach-defpager/wiring.h')
-rw-r--r-- | mach-defpager/wiring.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mach-defpager/wiring.h b/mach-defpager/wiring.h index b5f8e53f..e545834d 100644 --- a/mach-defpager/wiring.h +++ b/mach-defpager/wiring.h @@ -30,6 +30,5 @@ #include <mach_init.h> extern void wire_setup(/* mach_port_t host_priv */); -extern void wire_memory(/* vm_address_t, vm_size_t, vm_prot_t */); extern void wire_thread(); extern void wire_all_memory(); |