diff options
author | 2004-02-25 03:48:36 +0000 | |
---|---|---|
committer | 2004-02-25 03:48:36 +0000 | |
commit | cad92e3743dcbcdacaafa22450ee31d5863dc4db (patch) | |
tree | 7f53a2c61a8fd0c8963dea1127e60ff30bc90c42 /lib/libpthread/arch/amd64/uthread_machdep.h | |
parent | typo in comment (diff) | |
download | wireguard-openbsd-cad92e3743dcbcdacaafa22450ee31d5863dc4db.tar.xz wireguard-openbsd-cad92e3743dcbcdacaafa22450ee31d5863dc4db.zip |
initial working pthreads support from sparc64, done with drahn. there are
some `debugging features' and other optimizations (such as not saving all
registers) that we can still do perhaps
Diffstat (limited to 'lib/libpthread/arch/amd64/uthread_machdep.h')
-rw-r--r-- | lib/libpthread/arch/amd64/uthread_machdep.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libpthread/arch/amd64/uthread_machdep.h b/lib/libpthread/arch/amd64/uthread_machdep.h index 46f5e9e87d1..43187585d17 100644 --- a/lib/libpthread/arch/amd64/uthread_machdep.h +++ b/lib/libpthread/arch/amd64/uthread_machdep.h @@ -1,5 +1,10 @@ -/* dummy */ +/* $OpenBSD: uthread_machdep.h,v 1.2 2004/02/25 03:48:36 deraadt Exp $ */ + +#include <sys/types.h> +#include <machine/fpu.h> struct _machdep_state { + long rsp; + /* must be 128-bit aligned */ + struct savefpu fpreg __attribute__ ((aligned (16))); }; - |