summaryrefslogtreecommitdiff
path: root/sys/vm/vm_extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_extern.h')
-rw-r--r--sys/vm/vm_extern.h26
1 files changed, 21 insertions, 5 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index 614a501d8c5..89731d5018b 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -1,4 +1,5 @@
-/* $NetBSD: vm_extern.h,v 1.15 1995/12/09 04:28:16 mycroft Exp $ */
+/* $OpenBSD: vm_extern.h,v 1.4 1996/03/03 17:45:26 niklas Exp $ */
+/* $NetBSD: vm_extern.h,v 1.19 1996/02/10 00:08:05 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -42,6 +43,7 @@ struct vmspace;
struct vmtotal;
struct mount;
struct vnode;
+struct core;
#ifdef KGDB
void chgkprot __P((caddr_t, int, int));
@@ -76,11 +78,12 @@ void kmem_free_wakeup __P((vm_map_t, vm_offset_t, vm_size_t));
void kmem_init __P((vm_offset_t, vm_offset_t));
vm_offset_t kmem_malloc __P((vm_map_t, vm_size_t, boolean_t));
vm_map_t kmem_suballoc __P((vm_map_t, vm_offset_t *, vm_offset_t *,
- vm_size_t, boolean_t));
+ vm_size_t, boolean_t));
void loadav __P((struct loadavg *));
void munmapfd __P((struct proc *, int));
int pager_cache __P((vm_object_t, boolean_t));
void sched __P((void));
+void scheduler __P((void));
int svm_allocate __P((struct proc *, void *, int *));
int svm_deallocate __P((struct proc *, void *, int *));
int svm_inherit __P((struct proc *, void *, int *));
@@ -94,10 +97,12 @@ void thread_block __P((void));
void thread_sleep __P((void *, simple_lock_t, boolean_t));
void thread_wakeup __P((void *));
int useracc __P((caddr_t, int, int));
-int vm_allocate __P((vm_map_t,
- vm_offset_t *, vm_size_t, boolean_t));
+int vm_allocate __P((vm_map_t, vm_offset_t *, vm_size_t,
+ boolean_t));
int vm_allocate_with_pager __P((vm_map_t, vm_offset_t *,
vm_size_t, boolean_t, vm_pager_t, vm_offset_t, boolean_t));
+int vm_coredump __P((struct proc *, struct vnode *, struct ucred *,
+ struct core *));
int vm_deallocate __P((vm_map_t, vm_offset_t, vm_size_t));
int vm_fault __P((vm_map_t, vm_offset_t, vm_prot_t, boolean_t));
void vm_fault_copy_entry __P((vm_map_t,
@@ -127,5 +132,16 @@ void vnode_pager_setsize __P((struct vnode *, u_long));
void vnode_pager_umount __P((struct mount *));
boolean_t vnode_pager_uncache __P((struct vnode *));
void vslock __P((caddr_t, u_int));
-void vsunlock __P((caddr_t, u_int, int));
+void vsunlock __P((caddr_t, u_int));
+
+/* Machine dependent portion */
+void vmapbuf __P((struct buf *, vm_size_t));
+void vunmapbuf __P((struct buf *, vm_size_t));
+void remrq __P((struct proc *));
+#ifdef __FORK_BRAINDAMAGE
+int cpu_fork __P((struct proc *, struct proc *));
+#else
+void cpu_fork __P((struct proc *, struct proc *));
+#endif
+
#endif