summaryrefslogtreecommitdiff
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-24 17:40:47 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-24 17:40:47 +0000
commitceca2a7f96588b94c5318a4eddc47de35c999414 (patch)
treee71908e12853b0d3782d4e760a15157efa0d4739 /sys/vm/vm_param.h
parent9d9465d322f0934ba9d34ff83fe740502764e438 (diff)
Move thread prototypes to <vm/vm_param.h> for consistency XXX
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index 4880723351c..eb3e4e3481c 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_param.h,v 1.3 1996/03/23 19:13:13 tholo Exp $ */
+/* $OpenBSD: vm_param.h,v 1.4 1996/03/24 17:40:46 tholo Exp $ */
/* $NetBSD: vm_param.h,v 1.12 1995/03/26 20:39:16 jtc Exp $ */
/*
@@ -81,6 +81,12 @@ typedef int boolean_t;
#define TRUE 1
#define FALSE 0
+#define current_thread() (curproc->p_thread)
+void assert_wait __P((event_t, boolean_t));
+void thread_block __P((void));
+void thread_sleep __P((event_t, struct slock *, boolean_t));
+void thread_wakeup __P((event_t));
+
/*
* The machine independent pages are refered to as PAGES. A page
* is some number of hardware pages, depending on the target machine.