Deleted Added
full compact
svr4_genassym.c (55063) svr4_genassym.c (55343)
1/* $FreeBSD: head/sys/i386/svr4/svr4_genassym.c 55063 1999-12-23 21:19:32Z marcel $ */
1/* $FreeBSD: head/sys/i386/svr4/svr4_genassym.c 55343 2000-01-03 16:49:39Z marcel $ */
2/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
3
4#include <sys/assym.h>
5#include <sys/param.h>
6
7struct proc;
8
9#include <svr4/svr4.h>
10#include <svr4/svr4_signal.h>
11#include <svr4/svr4_ucontext.h>
12
13/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should
14 * fix the include files instead... */
15#define SVR4_MACHDEP_JUST_REGS
16#include <i386/svr4/svr4_machdep.h>
17
2/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
3
4#include <sys/assym.h>
5#include <sys/param.h>
6
7struct proc;
8
9#include <svr4/svr4.h>
10#include <svr4/svr4_signal.h>
11#include <svr4/svr4_ucontext.h>
12
13/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should
14 * fix the include files instead... */
15#define SVR4_MACHDEP_JUST_REGS
16#include <i386/svr4/svr4_machdep.h>
17
18ASSYM(SVR4_SIGF_HANDLER, offsetof(svr4_sigframe, sf_handler));
19ASSYM(SVR4_SIGF_UC, offsetof(svr4_sigframe, sf_uc));
20ASSYM(SVR4_UC_FS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_FS]));
21ASSYM(SVR4_UC_GS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_GS]));
22ASSYM(SVR4_UC_EFLAGS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_EFL]));
18ASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));
19ASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));
20ASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,
21 uc_mcontext.greg[SVR4_X86_FS]));
22ASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,
23 uc_mcontext.greg[SVR4_X86_GS]));
24ASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,
25 uc_mcontext.greg[SVR4_X86_EFL]));