summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch
diff options
context:
space:
mode:
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 */
+}