diff options
Diffstat (limited to 'lib/libpthread/arch/amd64/uthread_machdep.c')
-rw-r--r-- | lib/libpthread/arch/amd64/uthread_machdep.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libpthread/arch/amd64/uthread_machdep.c b/lib/libpthread/arch/amd64/uthread_machdep.c new file mode 100644 index 00000000000..d66bfbaa853 --- /dev/null +++ b/lib/libpthread/arch/amd64/uthread_machdep.c @@ -0,0 +1,27 @@ +#include <machine/param.h> +#include <pthread.h> +#include "pthread_private.h" + +/* + * 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)) +{ + /* dummy */ +} + +void +_thread_machdep_save_float_state(struct _machdep_state *ms) +{ + /* dummy */ +} + +void +_thread_machdep_restore_float_state(struct _machdep_state *ms) +{ + /* dummy */ +} + |