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