summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2003-01-23 02:43:49 +0000
committermarc <marc@openbsd.org>2003-01-23 02:43:49 +0000
commit1ba45fe7d4d667dd04d2bc2c6470b1e20098c1e1 (patch)
treefc59e5179b1b052bbdc65c49b4f8b373cfc12963 /lib/libpthread/arch
parentCleanup of TABLES section. (diff)
downloadwireguard-openbsd-1ba45fe7d4d667dd04d2bc2c6470b1e20098c1e1.tar.xz
wireguard-openbsd-1ba45fe7d4d667dd04d2bc2c6470b1e20098c1e1.zip
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 */
+}