2003-07-25 21:19:19 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
2003-05-14 04:10:49 +00:00
|
|
|
|
|
|
|
#include "opt_compat.h"
|
|
|
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/assym.h>
|
|
|
|
#include <sys/systm.h>
|
|
|
|
#include <sys/signal.h>
|
|
|
|
|
2006-10-05 01:56:11 +00:00
|
|
|
#include <compat/freebsd32/freebsd32_signal.h>
|
2003-08-22 23:19:02 +00:00
|
|
|
#include <compat/ia32/ia32_signal.h>
|
2003-05-14 04:10:49 +00:00
|
|
|
|
|
|
|
ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah));
|
|
|
|
ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc));
|
|
|
|
ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs));
|
|
|
|
ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs));
|
|
|
|
ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es));
|
|
|
|
ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds));
|
|
|
|
#ifdef COMPAT_FREEBSD4
|
2004-02-21 23:35:56 +00:00
|
|
|
ASSYM(IA32_SIGF_UC4, offsetof(struct ia32_sigframe4, sf_uc));
|
2003-05-14 04:10:49 +00:00
|
|
|
ASSYM(IA32_UC4_GS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_gs));
|
|
|
|
ASSYM(IA32_UC4_FS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_fs));
|
|
|
|
ASSYM(IA32_UC4_ES, offsetof(struct ia32_ucontext4, uc_mcontext.mc_es));
|
|
|
|
ASSYM(IA32_UC4_DS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_ds));
|
|
|
|
#endif
|