summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-07-16 00:51:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:16 +0200
commitcebb3e599473c53b5faa759f20da8279367bed69 (patch)
treeef8a1157c5be9235ec7772f31e5f1a2098d01e48 /vm
parentf1b261205a9bc1533af851e6fc41f2af6e8e1188 (diff)
2008-07-15 Barry deFreese <bddebian@comcast.net>
* ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. * kern/bootstrap.c: Include <vm/vm_user.h>. * kern/exceptions.c: Include <ipc/ipc_notify.h>. * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. * kern/ipc_mig.c: Include <device/dev_hdr.h>. * kern/pc_sample.c: Include <machine/trap.h>. * kern/printf.h (safe_gets): Add prototype. * kern/processor.c: Include <kern/ipc_tt.h>. * kern/queue.h (insque): Add prototype. * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. * kern/thread.h (thread_start, kernel_thread, thread_priority, thread_set_own_priority, thread_max_priority, thread_policy, consider_thread_collect, stack_privilege): Add prototypes. * kern/timer.h (timer_normalize, timer_init, init_timers): Add prototypes. * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add prototypes.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/vm_map.h b/vm/vm_map.h
index 25c0065..40c828a 100644
--- a/vm/vm_map.h
+++ b/vm/vm_map.h
@@ -393,6 +393,9 @@ extern void vm_map_print(vm_map_t);
extern kern_return_t vm_map_lookup(vm_map_t *, vm_offset_t, vm_prot_t,
vm_map_version_t *, vm_object_t *,
vm_offset_t *, vm_prot_t *, boolean_t *);
+/* Find a map entry */
+extern boolean_t vm_map_lookup_entry(vm_map_t, vm_offset_t,
+ vm_map_entry_t *);
/* Verify that a previous lookup is still valid */
extern boolean_t vm_map_verify(vm_map_t, vm_map_version_t *);
/* vm_map_verify_done is now a macro -- see below */
@@ -422,6 +425,9 @@ extern kern_return_t vm_map_machine_attribute(vm_map_t, vm_offset_t,
vm_machine_attribute_t,
vm_machine_attribute_val_t *);
+/* Delete entry from map */
+extern void vm_map_entry_delete(vm_map_t, vm_map_entry_t);
+
/*
* Functions implemented as macros
*/