ia32_genassym.c revision 163018
1#include <sys/cdefs.h> 2__FBSDID("$FreeBSD: head/sys/compat/ia32/ia32_genassym.c 163018 2006-10-05 01:56:11Z davidxu $"); 3 4#include "opt_compat.h" 5 6#include <sys/param.h> 7#include <sys/assym.h> 8#include <sys/systm.h> 9#include <sys/signal.h> 10 11#include <compat/freebsd32/freebsd32_signal.h> 12#include <compat/ia32/ia32_signal.h> 13 14ASSYM(IA32_SIGF_HANDLER, offsetof(struct ia32_sigframe, sf_ah)); 15ASSYM(IA32_SIGF_UC, offsetof(struct ia32_sigframe, sf_uc)); 16ASSYM(IA32_UC_GS, offsetof(struct ia32_ucontext, uc_mcontext.mc_gs)); 17ASSYM(IA32_UC_FS, offsetof(struct ia32_ucontext, uc_mcontext.mc_fs)); 18ASSYM(IA32_UC_ES, offsetof(struct ia32_ucontext, uc_mcontext.mc_es)); 19ASSYM(IA32_UC_DS, offsetof(struct ia32_ucontext, uc_mcontext.mc_ds)); 20#ifdef COMPAT_FREEBSD4 21ASSYM(IA32_SIGF_UC4, offsetof(struct ia32_sigframe4, sf_uc)); 22ASSYM(IA32_UC4_GS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_gs)); 23ASSYM(IA32_UC4_FS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_fs)); 24ASSYM(IA32_UC4_ES, offsetof(struct ia32_ucontext4, uc_mcontext.mc_es)); 25ASSYM(IA32_UC4_DS, offsetof(struct ia32_ucontext4, uc_mcontext.mc_ds)); 26#endif 27