summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/vax/uthread_machdep.c
blob: c441c25899418cad6901c5fd0fe799e40f1c3eb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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 */
}