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/linux/linux_locore.s

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 #include "linux_assym.h"                        /* system definitions */
    2 #include <machine/asmacros.h>           /* miscellaneous asm macros */
    3 
    4 #include <i386/linux/linux_syscall.h>           /* system call numbers */
    5 
    6 NON_GPROF_ENTRY(linux_sigcode)
    7         call    LINUX_SIGF_HANDLER(%esp)
    8         leal    LINUX_SIGF_SC(%esp),%ebx        /* linux scp */
    9         movl    LINUX_SC_FS(%ebx),%ecx
   10         movl    LINUX_SC_GS(%ebx),%edx
   11         movl    %cx,%fs
   12         movl    %dx,%gs
   13         push    %eax                            /* fake ret addr */
   14         movl    $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
   15         int     $0x80                           /* enter kernel with args on stack */
   16         hlt                                     /* never gets here */
   17 
   18         .align  2                               /* long word align */
   19 _linux_esigcode:
   20 
   21         .data
   22         .globl  _linux_szsigcode
   23 _linux_szsigcode:
   24         .long   _linux_esigcode-_linux_sigcode
   25 
   26         .text

Cache object: c07b48797ec24af0b41ec7daa7ebf5eb


[ 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.