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