diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-16 00:00:16 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:15 +0200 |
commit | 79dac7c8bdfc3e22d0caf20f11ffbbbabf50e3ee (patch) | |
tree | bb4f062b93f79cb377b2d24ccfa0c4a96f1907ac /vm | |
parent | 4bf4c70ff3285c57b1ee3d435534a7d33311d000 (diff) |
2008-07-15 Barry deFreese <bddebian@comcast.net>
* kern/ipc_kobject.c: Include <vm/vm_object.h>
* vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>.
(vm_object_coalesce, vm_object_pager_wakeup): Add prototypes.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_object.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vm/vm_object.h b/vm/vm_object.h index 7473289..c992570 100644 --- a/vm/vm_object.h +++ b/vm/vm_object.h @@ -34,6 +34,7 @@ #ifndef _VM_VM_OBJECT_H_ #define _VM_VM_OBJECT_H_ +#include <sys/types.h> #include <mach/kern_return.h> #include <mach/boolean.h> #include <mach/memory_object.h> @@ -46,6 +47,7 @@ #include <kern/debug.h> #include <kern/macro_help.h> #include <vm/pmap.h> +#include <ipc/ipc_types.h> #if MACH_PAGEMAP #include <vm/vm_external.h> @@ -235,6 +237,16 @@ extern void vm_object_print(vm_object_t); extern vm_object_t vm_object_request_object(struct ipc_port *); +extern boolean_t vm_object_coalesce( + vm_object_t prev_object, + vm_object_t next_object, + vm_offset_t prev_offset, + vm_offset_t next_offset, + vm_size_t prev_size, + vm_size_t next_size); + +extern void vm_object_pager_wakeup(ipc_port_t pager); + /* * Event waiting handling */ |