summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/amd64/uthread_machdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/arch/amd64/uthread_machdep.h')
-rw-r--r--lib/libpthread/arch/amd64/uthread_machdep.h9
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)));
};
-