diff options
Diffstat (limited to 'lib/libpthread/arch/powerpc/uthread_machdep.h')
-rw-r--r-- | lib/libpthread/arch/powerpc/uthread_machdep.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libpthread/arch/powerpc/uthread_machdep.h b/lib/libpthread/arch/powerpc/uthread_machdep.h new file mode 100644 index 00000000000..3ba790a49c2 --- /dev/null +++ b/lib/libpthread/arch/powerpc/uthread_machdep.h @@ -0,0 +1,31 @@ +/* + * OpenBSD/powerpc machine-dependent thread macros + * + * $OpenBSD: uthread_machdep.h,v 1.1 1998/12/21 07:22:26 d Exp $ + */ + +/* save the floating point state of a thread */ +#define _thread_machdep_save_float_state(thr) \ + { \ + /* rahnds to fill in */ \ + } + +/* restore the floating point state of a thread */ +#define _thread_machdep_restore_float_state(thr) \ + { \ + /* rahnds to fill in */ \ + } + +/* initialise the jmpbuf stack frame so it continues from entry */ +#define _thread_machdep_thread_create(thr, entry, pattr) \ + { \ + /* rahnds to fill in */ \ + } + +#define _thread_machdep_longjmp(a,v) longjmp(a,v) +#define _thread_machdep_setjmp(a) setjmp(a) + +struct _machdep_struct { + char xxx; +}; + |