1999-01-30 06:29:48 +00:00
|
|
|
/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
|
2003-06-10 05:05:54 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
1999-01-30 06:29:48 +00:00
|
|
|
|
2000-01-08 19:56:03 +00:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/assym.h>
|
2002-09-05 13:08:22 +00:00
|
|
|
#include <sys/systm.h>
|
1999-01-30 06:29:48 +00:00
|
|
|
|
2000-08-31 22:54:09 +00:00
|
|
|
#include <compat/svr4/svr4_signal.h>
|
|
|
|
#include <compat/svr4/svr4_ucontext.h>
|
1999-01-30 06:29:48 +00:00
|
|
|
|
|
|
|
/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should
|
|
|
|
* fix the include files instead... */
|
|
|
|
#define SVR4_MACHDEP_JUST_REGS
|
|
|
|
#include <i386/svr4/svr4_machdep.h>
|
|
|
|
|
2000-01-03 16:49:39 +00:00
|
|
|
ASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));
|
|
|
|
ASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));
|
|
|
|
ASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,
|
|
|
|
uc_mcontext.greg[SVR4_X86_FS]));
|
|
|
|
ASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,
|
|
|
|
uc_mcontext.greg[SVR4_X86_GS]));
|
|
|
|
ASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,
|
|
|
|
uc_mcontext.greg[SVR4_X86_EFL]));
|