svr4_genassym.c revision 55627
150477Speter/* $FreeBSD: head/sys/i386/svr4/svr4_genassym.c 55627 2000-01-08 19:56:03Z bde $ */ 243412Snewton/* Derived from: Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */ 343412Snewton 455627Sbde#include <stddef.h> 555627Sbde 655627Sbde#include <sys/param.h> 755063Smarcel#include <sys/assym.h> 843412Snewton 943412Snewton#include <svr4/svr4_signal.h> 1043412Snewton#include <svr4/svr4_ucontext.h> 1143412Snewton 1243412Snewton/* XXX: This bit sucks rocks, but gets rid of compiler errors. Maybe I should 1343412Snewton * fix the include files instead... */ 1443412Snewton#define SVR4_MACHDEP_JUST_REGS 1543412Snewton#include <i386/svr4/svr4_machdep.h> 1643412Snewton 1755343SmarcelASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler)); 1855343SmarcelASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc)); 1955343SmarcelASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext, 2055343Smarcel uc_mcontext.greg[SVR4_X86_FS])); 2155343SmarcelASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext, 2255343Smarcel uc_mcontext.greg[SVR4_X86_GS])); 2355343SmarcelASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext, 2455343Smarcel uc_mcontext.greg[SVR4_X86_EFL])); 25