The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/svr4/svr4_genassym.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* Derived from:  Id: linux_genassym.c,v 1.8 1998/07/29 15:50:41 bde Exp */
    2 #include <sys/cdefs.h>
    3 __FBSDID("$FreeBSD: releng/10.2/sys/i386/svr4/svr4_genassym.c 116145 2003-06-10 05:05:54Z obrien $");
    4 
    5 #include <sys/param.h>
    6 #include <sys/assym.h>
    7 #include <sys/systm.h>
    8 
    9 #include <compat/svr4/svr4_signal.h>
   10 #include <compat/svr4/svr4_ucontext.h>
   11 
   12 /* XXX: This bit sucks rocks, but gets rid of compiler errors.  Maybe I should
   13  * fix the include files instead... */
   14 #define SVR4_MACHDEP_JUST_REGS
   15 #include <i386/svr4/svr4_machdep.h>
   16 
   17 ASSYM(SVR4_SIGF_HANDLER, offsetof(struct svr4_sigframe, sf_handler));
   18 ASSYM(SVR4_SIGF_UC, offsetof(struct svr4_sigframe, sf_uc));
   19 ASSYM(SVR4_UC_FS, offsetof(struct svr4_ucontext,
   20     uc_mcontext.greg[SVR4_X86_FS]));
   21 ASSYM(SVR4_UC_GS, offsetof(struct svr4_ucontext,
   22     uc_mcontext.greg[SVR4_X86_GS]));
   23 ASSYM(SVR4_UC_EFLAGS, offsetof(struct svr4_ucontext,
   24     uc_mcontext.greg[SVR4_X86_EFL]));

Cache object: 3390c9d7f6e3d6078e6781c7bf437ee1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.