svr4_genassym.c revision 102965
1285SN/A/* $FreeBSD: head/sys/i386/svr4/svr4_genassym.c 102965 2002-09-05 13:08:22Z bde $ */ 2461SN/A/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */ 3285SN/A 4285SN/A#include <sys/param.h> 5285SN/A#include <sys/assym.h> 6285SN/A#include <sys/systm.h> 7285SN/A 8285SN/A#include <compat/svr4/svr4_signal.h> 9285SN/A#include <compat/svr4/svr4_ucontext.h> 10285SN/A 11285SN/A/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should 12285SN/A * fix the include files instead... */ 13285SN/A#define SVR4_MACHDEP_JUST_REGS 14285SN/A#include <i386/svr4/svr4_machdep.h> 15285SN/A 16285SN/AASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler)); 17285SN/AASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc)); 18285SN/AASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext, 19285SN/A uc_mcontext.greg[SVR4_X86_FS])); 20285SN/AASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext, 21285SN/A uc_mcontext.greg[SVR4_X86_GS])); 22285SN/AASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext, 23285SN/A uc_mcontext.greg[SVR4_X86_EFL])); 24285SN/A