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/ibcs2/ibcs2_signal.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: ibcs2_signal.h,v 1.7 1995/08/14 02:26:01 mycroft Exp $ */
    2 
    3 /*-
    4  * Copyright (c) 1994, 1995 Scott Bartram
    5  * All rights reserved.
    6  *
    7  * Redistribution and use in source and binary forms, with or without
    8  * modification, are permitted provided that the following conditions
    9  * are met:
   10  * 1. Redistributions of source code must retain the above copyright
   11  *    notice, this list of conditions and the following disclaimer.
   12  * 2. Redistributions in binary form must reproduce the above copyright
   13  *    notice, this list of conditions and the following disclaimer in the
   14  *    documentation and/or other materials provided with the distribution.
   15  * 3. All advertising materials mentioning features or use of this software
   16  *    must display the following acknowledgement:
   17  *      This product includes software developed by Scott Bartram.
   18  * 4. The name of the author may not be used to endorse or promote products
   19  *    derived from this software without specific prior written permission
   20  *
   21  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   22  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   23  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   24  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
   25  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   26  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   30  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   31  *
   32  * $FreeBSD: releng/6.1/sys/i386/ibcs2/ibcs2_signal.h 139799 2005-01-06 23:22:04Z imp $
   33  */
   34 
   35 #ifndef _IBCS2_SIGNAL_H
   36 #define _IBCS2_SIGNAL_H
   37 
   38 #define IBCS2_SIGHUP            1
   39 #define IBCS2_SIGINT            2
   40 #define IBCS2_SIGQUIT           3
   41 #define IBCS2_SIGILL            4
   42 #define IBCS2_SIGTRAP           5
   43 #define IBCS2_SIGIOT            6
   44 #define IBCS2_SIGABRT           6
   45 #define IBCS2_SIGEMT            7
   46 #define IBCS2_SIGFPE            8
   47 #define IBCS2_SIGKILL           9
   48 #define IBCS2_SIGBUS            10
   49 #define IBCS2_SIGSEGV           11
   50 #define IBCS2_SIGSYS            12
   51 #define IBCS2_SIGPIPE           13
   52 #define IBCS2_SIGALRM           14
   53 #define IBCS2_SIGTERM           15
   54 #define IBCS2_SIGUSR1           16
   55 #define IBCS2_SIGUSR2           17
   56 #define IBCS2_SIGCLD            18
   57 #define IBCS2_SIGPWR            19
   58 #define IBCS2_SIGWINCH          20
   59 #define IBCS2_SIGPOLL           22
   60 #define IBCS2_NSIG              32
   61 #define IBCS2_SIGTBLSZ          32
   62 
   63 /*
   64  * SCO-specific
   65  */
   66 #define IBCS2_SIGSTOP           23
   67 #define IBCS2_SIGTSTP           24
   68 #define IBCS2_SIGCONT           25
   69 #define IBCS2_SIGTTIN           26
   70 #define IBCS2_SIGTTOU           27
   71 #define IBCS2_SIGVTALRM         28
   72 #define IBCS2_SIGPROF           29
   73 
   74 #define IBCS2_SIGNO_MASK        0x00FF
   75 #define IBCS2_SIGNAL_MASK       0x0000
   76 #define IBCS2_SIGSET_MASK       0x0100
   77 #define IBCS2_SIGHOLD_MASK      0x0200
   78 #define IBCS2_SIGRELSE_MASK     0x0400
   79 #define IBCS2_SIGIGNORE_MASK    0x0800
   80 #define IBCS2_SIGPAUSE_MASK     0x1000
   81 
   82 #define IBCS2_SIGNO(x)          ((x) & IBCS2_SIGNO_MASK)
   83 #define IBCS2_SIGCALL(x)        ((x) & ~IBCS2_SIGNO_MASK)
   84 
   85 typedef long    ibcs2_sigset_t;
   86 typedef void    (*ibcs2_sig_t)(int);
   87 
   88 struct ibcs2_sigaction {
   89         ibcs2_sig_t     isa_handler;
   90         ibcs2_sigset_t  isa_mask;
   91         int             isa_flags;
   92 };
   93 
   94 #define IBCS2_SIG_DFL           ((ibcs2_sig_t)0)
   95 #define IBCS2_SIG_ERR           ((ibcs2_sig_t)-1)
   96 #define IBCS2_SIG_IGN           ((ibcs2_sig_t)1)
   97 #define IBCS2_SIG_HOLD          ((ibcs2_sig_t)2)
   98 
   99 #define IBCS2_SIG_SETMASK       0
  100 #define IBCS2_SIG_BLOCK         1
  101 #define IBCS2_SIG_UNBLOCK       2
  102 
  103 /* sa_flags */
  104 #define IBCS2_SA_NOCLDSTOP      1
  105 
  106 #define IBCS2_MINSIGSTKSZ       8192
  107 
  108 extern int bsd_to_ibcs2_sig[];
  109 
  110 #endif /* _IBCS2_SIGNAL_H */

Cache object: 101e11d67dbf85f7b82abe511f62a27f


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