xref: /titanic_41/usr/src/lib/libc/i386/offsets.in (revision bb1fad37c75defa7a6ae25f00c1d4b356713b734)
1\
2\ Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
3\ Use is subject to license terms.
4\
5\ CDDL HEADER START
6\
7\ The contents of this file are subject to the terms of the
8\ Common Development and Distribution License (the "License").
9\ You may not use this file except in compliance with the License.
10\
11\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12\ or http://www.opensolaris.org/os/licensing.
13\ See the License for the specific language governing permissions
14\ and limitations under the License.
15\
16\ When distributing Covered Code, include this CDDL HEADER in each
17\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18\ If applicable, add the following below this CDDL HEADER, with the
19\ fields enclosed by brackets "[]" replaced with your own identifying
20\ information: Portions Copyright [yyyy] [name of copyright owner]
21\
22\ CDDL HEADER END
23\
24
25\
26\ offsets.in: input file to produce assym.h using the ctfstabs program
27\
28
29#include "libc_int.h"
30#include "thr_uberdata.h"
31#include <setjmp.h>
32
33TLS_index
34	ti_moduleid
35	ti_tlsoffset
36
37tls_t		SIZEOF_TLS_T
38	tls_data
39	tls_size
40
41\#define	UL_TLSENT	UL_TLS+TLS_DATA
42\#define	UL_NTLSENT	UL_TLS+TLS_SIZE
43
44ulwp_t
45	ul_tls
46	ul_ustack
47	ul_vfork
48	ul_schedctl
49	ul_schedctl_called
50	ul_siglink
51	ul_sigmask
52
53stack_t
54	ss_sp
55	ss_size
56
57\#define	UC_MCONTEXT_GREGS	UC_MCONTEXT+GREGS
58
59ucontext_t	SIZEOF_UCONTEXT_T
60	uc_mcontext
61
62mcontext_t
63	gregs
64
65sigjmp_buf	SIZEOF_SIGJMP_BUF
66