svr4_genassym.c revision 55063
150477Speter/* $FreeBSD: head/sys/i386/svr4/svr4_genassym.c 55063 1999-12-23 21:19:32Z marcel $ */ 243412Snewton/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */ 343412Snewton 455063Smarcel#include <sys/assym.h> 543412Snewton#include <sys/param.h> 643412Snewton 743412Snewtonstruct proc; 843412Snewton 943412Snewton#include <svr4/svr4.h> 1043412Snewton#include <svr4/svr4_signal.h> 1143412Snewton#include <svr4/svr4_ucontext.h> 1243412Snewton 1343412Snewton/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should 1443412Snewton * fix the include files instead... */ 1543412Snewton#define SVR4_MACHDEP_JUST_REGS 1643412Snewton#include <i386/svr4/svr4_machdep.h> 1743412Snewton 1855063SmarcelASSYM(SVR4_SIGF_HANDLER, offsetof(svr4_sigframe, sf_handler)); 1955063SmarcelASSYM(SVR4_SIGF_UC, offsetof(svr4_sigframe, sf_uc)); 2055063SmarcelASSYM(SVR4_UC_FS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_FS])); 2155063SmarcelASSYM(SVR4_UC_GS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_GS])); 2255063SmarcelASSYM(SVR4_UC_EFLAGS, offsetof(svr4_ucontext, uc_mcontext.greg[SVR4_X86_EFL])); 23