setjmp.h revision 1.5 1 1.5 skrll /* $NetBSD: setjmp.h,v 1.5 2023/10/06 11:45:37 skrll Exp $ */
2 1.1 cherry
3 1.1 cherry /*-
4 1.1 cherry * Copyright (c) 2000
5 1.1 cherry * Intel Corporation.
6 1.1 cherry * All rights reserved.
7 1.5 skrll *
8 1.1 cherry * Redistribution and use in source and binary forms, with or without
9 1.1 cherry * modification, are permitted provided that the following conditions
10 1.1 cherry * are met:
11 1.5 skrll *
12 1.1 cherry * 1. Redistributions of source code must retain the above copyright
13 1.1 cherry * notice, this list of conditions and the following disclaimer.
14 1.5 skrll *
15 1.1 cherry * 2. Redistributions in binary form must reproduce the above copyright
16 1.1 cherry * notice, this list of conditions and the following disclaimer in the
17 1.1 cherry * documentation and/or other materials provided with the distribution.
18 1.5 skrll *
19 1.1 cherry * 3. All advertising materials mentioning features or use of this software
20 1.1 cherry * must display the following acknowledgement:
21 1.5 skrll *
22 1.1 cherry * This product includes software developed by Intel Corporation and
23 1.1 cherry * its contributors.
24 1.5 skrll *
25 1.1 cherry * 4. Neither the name of Intel Corporation or its contributors may be
26 1.1 cherry * used to endorse or promote products derived from this software
27 1.1 cherry * without specific prior written permission.
28 1.5 skrll *
29 1.1 cherry * THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION AND CONTRIBUTORS ``AS IS''
30 1.1 cherry * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 1.1 cherry * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 1.1 cherry * ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION OR CONTRIBUTORS BE
33 1.1 cherry * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
34 1.1 cherry * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35 1.1 cherry * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
36 1.1 cherry * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37 1.1 cherry * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38 1.1 cherry * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
39 1.1 cherry * THE POSSIBILITY OF SUCH DAMAGE.
40 1.5 skrll *
41 1.1 cherry * $FreeBSD: src/sys/ia64/include/setjmp.h,v 1.12 2003/07/26 08:03:43 marcel Exp $
42 1.1 cherry */
43 1.1 cherry
44 1.1 cherry #ifndef _MACHINE_SETJMP_H_
45 1.1 cherry #define _MACHINE_SETJMP_H_
46 1.1 cherry
47 1.1 cherry #define J_UNAT 0
48 1.1 cherry #define J_NATS 0x8
49 1.1 cherry #define J_PFS 0x10
50 1.1 cherry #define J_BSP 0x18
51 1.1 cherry #define J_RNAT 0x20
52 1.1 cherry #define J_PREDS 0x28
53 1.1 cherry #define J_LC 0x30
54 1.1 cherry #define J_R4 0x38
55 1.1 cherry #define J_R5 0x40
56 1.1 cherry #define J_R6 0x48
57 1.1 cherry #define J_R7 0x50
58 1.1 cherry #define J_SP 0x58
59 1.1 cherry #define J_F2 0x60
60 1.1 cherry #define J_F3 0x70
61 1.1 cherry #define J_F4 0x80
62 1.1 cherry #define J_F5 0x90
63 1.1 cherry #define J_F16 0xa0
64 1.1 cherry #define J_F17 0xb0
65 1.1 cherry #define J_F18 0xc0
66 1.1 cherry #define J_F19 0xd0
67 1.1 cherry #define J_F20 0xe0
68 1.1 cherry #define J_F21 0xf0
69 1.1 cherry #define J_F22 0x100
70 1.1 cherry #define J_F23 0x110
71 1.1 cherry #define J_F24 0x120
72 1.1 cherry #define J_F25 0x130
73 1.1 cherry #define J_F26 0x140
74 1.1 cherry #define J_F27 0x150
75 1.1 cherry #define J_F28 0x160
76 1.1 cherry #define J_F29 0x170
77 1.1 cherry #define J_F30 0x180
78 1.1 cherry #define J_F31 0x190
79 1.1 cherry #define J_FPSR 0x1a0
80 1.1 cherry #define J_B0 0x1a8
81 1.1 cherry #define J_B1 0x1b0
82 1.1 cherry #define J_B2 0x1b8
83 1.1 cherry #define J_B3 0x1c0
84 1.1 cherry #define J_B4 0x1c8
85 1.1 cherry #define J_B5 0x1d0
86 1.1 cherry #define J_SIGMASK 0x1d8
87 1.1 cherry #define J_SIGSET 0x1e0
88 1.1 cherry
89 1.4 scole /* XXX use FreeBSD value for now, set to sizeof(mcontext_t)/sizeof(long) ? */
90 1.4 scole #define _JBLEN 0x20 /* Size in long doubles */
91 1.1 cherry
92 1.1 cherry #endif /* !_MACHINE_SETJMP_H_ */
93