summaryrefslogtreecommitdiff
path: root/klibc/include/arch/ia64/klibc/archsetjmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/arch/ia64/klibc/archsetjmp.h')
-rw-r--r--klibc/include/arch/ia64/klibc/archsetjmp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/klibc/include/arch/ia64/klibc/archsetjmp.h b/klibc/include/arch/ia64/klibc/archsetjmp.h
new file mode 100644
index 0000000000..bd639c0b00
--- /dev/null
+++ b/klibc/include/arch/ia64/klibc/archsetjmp.h
@@ -0,0 +1,17 @@
+/*
+ * arch/ia64/include/klibc/archsetjmp.h
+ *
+ * Code borrowed from the FreeBSD kernel.
+ *
+ */
+
+#ifndef _KLIBC_ARCHSETJMP_H
+#define _KLIBC_ARCHSETJMP_H
+
+/* User code must not depend on the internal representation of jmp_buf. */
+#define _JBLEN 0x200
+
+/* guaranteed 128-bit alignment! */
+typedef char jmp_buf[_JBLEN] __attribute__ ((aligned (16)));
+
+#endif