1 /* $FreeBSD$ */
2 /* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
3
4 #include <sys/param.h>
5 #include <sys/assym.h>
6
7 #include <svr4/svr4_signal.h>
8 #include <svr4/svr4_ucontext.h>
9
10 /* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should
11 * fix the include files instead... */
12 #define SVR4_MACHDEP_JUST_REGS
13 #include <i386/svr4/svr4_machdep.h>
14
15 ASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));
16 ASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));
17 ASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,
18 uc_mcontext.greg[SVR4_X86_FS]));
19 ASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,
20 uc_mcontext.greg[SVR4_X86_GS]));
21 ASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,
22 uc_mcontext.greg[SVR4_X86_EFL]));
Cache object: 14bdba5ebe1c811fad9739d4f6b52890
|