summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2003-01-23 02:43:50 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2003-01-23 02:43:50 +0000
commit7f3dd8dc235601723b1e41a5b50c658e03ded63c (patch)
tree5594eea5a1b98846886acfa31062a9bac910da9b /lib/libpthread/arch
parentf71871a35404ca8eaa985dae9770af0b4e362bd3 (diff)
stubs for functions needed by the vax
Diffstat (limited to 'lib/libpthread/arch')
-rw-r--r--lib/libpthread/arch/vax/uthread_machdep.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/libpthread/arch/vax/uthread_machdep.c b/lib/libpthread/arch/vax/uthread_machdep.c
new file mode 100644
index 00000000000..c441c258994
--- /dev/null
+++ b/lib/libpthread/arch/vax/uthread_machdep.c
@@ -0,0 +1,37 @@
+/* $OpenBSD: uthread_machdep.c,v 1.1 2003/01/23 02:43:49 marc Exp $ */
+/* PUBLIC DOMAIN <marc@snafu.org> */
+
+/*
+ * Machine-dependent thread state functions for OpenBSD/sparc.
+ */
+
+#if 0
+#include <sys/types.h>
+#include <machine/frame.h>
+#include <machine/param.h>
+#include <pthread.h>
+#include "pthread_private.h"
+#endif
+
+/*
+ * Given a stack and an entry function, initialise a state
+ * structure that can be later switched to.
+ */
+void
+_thread_machdep_init(struct _machdep_state* statep, void *base, int len,
+ void (*entry)(void))
+{
+ /* XXX implement, please */
+}
+
+void
+_thread_machdep_save_float_state(struct _machdep_state* statep)
+{
+ /* XXX implement, please */
+}
+
+void
+_thread_machdep_restore_float_state(struct _machdep_state* statep)
+{
+ /* XXX implement, please */
+}