--- /dev/null
+/* $NetBSD: setjmp.h,v 1.2 2006/09/10 21:16:56 cherry Exp $ */\r
+\r
+/*-\r
+ * Copyright (c) 2000\r
+ * Intel Corporation.\r
+ * All rights reserved.\r
+ * \r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions\r
+ * are met:\r
+ * \r
+ * 1. Redistributions of source code must retain the above copyright\r
+ * notice, this list of conditions and the following disclaimer.\r
+ * \r
+ * 2. Redistributions in binary form must reproduce the above copyright\r
+ * notice, this list of conditions and the following disclaimer in the\r
+ * documentation and/or other materials provided with the distribution.\r
+ * \r
+ * 3. All advertising materials mentioning features or use of this software\r
+ * must display the following acknowledgement:\r
+ * \r
+ * This product includes software developed by Intel Corporation and\r
+ * its contributors.\r
+ * \r
+ * 4. Neither the name of Intel Corporation or its contributors may be\r
+ * used to endorse or promote products derived from this software\r
+ * without specific prior written permission.\r
+ * \r
+ * THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION AND CONTRIBUTORS ``AS IS''\r
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+ * ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR CONTRIBUTORS BE\r
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r
+ * THE POSSIBILITY OF SUCH DAMAGE.\r
+ * \r
+ * $FreeBSD: src/sys/ia64/include/setjmp.h,v 1.12 2003/07/26 08:03:43 marcel Exp $\r
+ */\r
+\r
+#ifndef _MACHINE_SETJMP_H_\r
+#define _MACHINE_SETJMP_H_\r
+\r
+#include <sys/cdefs.h>\r
+\r
+#define JMPBUF_ADDR_OF(buf, item) ((unsigned long)((char *)buf + item))\r
+\r
+#define J_UNAT 0\r
+#define J_NATS 0x8\r
+#define J_PFS 0x10\r
+#define J_BSP 0x18\r
+#define J_RNAT 0x20\r
+#define J_PREDS 0x28\r
+#define J_LC 0x30\r
+#define J_R4 0x38\r
+#define J_R5 0x40\r
+#define J_R6 0x48\r
+#define J_R7 0x50\r
+#define J_SP 0x58\r
+#define J_F2 0x60\r
+#define J_F3 0x70\r
+#define J_F4 0x80\r
+#define J_F5 0x90\r
+#define J_F16 0xa0\r
+#define J_F17 0xb0\r
+#define J_F18 0xc0\r
+#define J_F19 0xd0\r
+#define J_F20 0xe0\r
+#define J_F21 0xf0\r
+#define J_F22 0x100\r
+#define J_F23 0x110\r
+#define J_F24 0x120\r
+#define J_F25 0x130\r
+#define J_F26 0x140\r
+#define J_F27 0x150\r
+#define J_F28 0x160\r
+#define J_F29 0x170\r
+#define J_F30 0x180\r
+#define J_F31 0x190\r
+#define J_FPSR 0x1a0\r
+#define J_B0 0x1a8\r
+#define J_B1 0x1b0\r
+#define J_B2 0x1b8\r
+#define J_B3 0x1c0\r
+#define J_B4 0x1c8\r
+#define J_B5 0x1d0\r
+#define J_SIGMASK 0x1d8\r
+#define J_SIGSET 0x1e0\r
+\r
+#define _JBLEN 0x200 /* Size in long XXX: Set to sizeof(mcontext_t)/sizeof(long) */\r
+\r
+#ifdef _KERNEL\r
+#ifdef CTASSERT\r
+CTASSERT(sizeof(struct _jmp_buf) == 512);\r
+#endif\r
+#endif\r
+\r
+#endif /* !_MACHINE_SETJMP_H_ */\r