From 2b0f19f602e08fd9d37268233b962674fd592634 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 24 Dec 2016 02:31:34 +0100 Subject: VM: add the vm_wire_all call This call maps the POSIX mlockall and munlockall calls. * Makefrag.am (include_mach_HEADERS): Add include/mach/vm_wire.h. * include/mach/gnumach.defs (vm_wire_t): New type. (vm_wire_all): New routine. * include/mach/mach_types.h: Include mach/vm_wire.h. * vm/vm_map.c: Likewise. (vm_map_enter): Automatically wire new entries if requested. (vm_map_copyout): Likewise. (vm_map_pageable_all): New function. vm/vm_map.h: Include mach/vm_wire.h. (struct vm_map): Update description of member `wiring_required'. (vm_map_pageable_all): New function. * vm/vm_user.c (vm_wire_all): New function. --- Makefrag.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefrag.am') diff --git a/Makefrag.am b/Makefrag.am index e001d65d..c16f1c72 100644 --- a/Makefrag.am +++ b/Makefrag.am @@ -418,6 +418,7 @@ include_mach_HEADERS = \ include/mach/vm_param.h \ include/mach/vm_prot.h \ include/mach/vm_statistics.h \ + include/mach/vm_wire.h \ include/mach/inline.h \ include/mach/xen.h -- cgit v1.2.3