kernel tree reorganization stage 1: Major cvs repository work (not logged as
[dragonfly.git] / sys / emulation / svr4 / i386 / svr4_genassym.c
1 /* $FreeBSD: src/sys/i386/svr4/svr4_genassym.c,v 1.5.2.1 2001/10/09 04:25:26 jlemon Exp $ */
2 /* $DragonFly: src/sys/emulation/svr4/i386/Attic/svr4_genassym.c,v 1.3 2003/08/07 21:17:20 dillon Exp $ */
3 /* Derived from:  Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
4
5 #include <sys/param.h>
6 #include <sys/assym.h>
7
8 #include "../svr4_signal.h"
9 #include "../svr4_ucontext.h"
10
11 /* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should
12  * fix the include files instead... */
13 #define SVR4_MACHDEP_JUST_REGS
14 #include "svr4_machdep.h"
15
16 ASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));
17 ASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));
18 ASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,
19     uc_mcontext.greg[SVR4_X86_FS]));
20 ASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,
21     uc_mcontext.greg[SVR4_X86_GS]));
22 ASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,
23     uc_mcontext.greg[SVR4_X86_EFL]));