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/kernel/ipc.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 #ifndef IPC_H
    2 #define IPC_H
    3 
    4 /* This header file defines constants for MINIX inter-process communication.
    5  * These definitions are used in the file proc.c.
    6  */
    7 #include <minix/com.h>
    8 
    9 /* Masks and flags for system calls. */
   10 #define SYSCALL_FUNC    0x0F    /* mask for system call function */
   11 #define SYSCALL_FLAGS   0xF0    /* mask for system call flags */
   12 #define NON_BLOCKING    0x10    /* prevent blocking, return error */
   13 
   14 /* System call numbers that are passed when trapping to the kernel. The 
   15  * numbers are carefully defined so that it can easily be seen (based on 
   16  * the bits that are on) which checks should be done in sys_call().
   17  */
   18 #define SEND               1    /* 0 0 0 1 : blocking send */
   19 #define RECEIVE            2    /* 0 0 1 0 : blocking receive */
   20 #define SENDREC            3    /* 0 0 1 1 : SEND + RECEIVE */
   21 #define NOTIFY             4    /* 0 1 0 0 : nonblocking notify */
   22 #define ECHO               8    /* 1 0 0 0 : echo a message */
   23 
   24 /* The following bit masks determine what checks that should be done. */
   25 #define CHECK_PTR       0x0B    /* 1 0 1 1 : validate message buffer */
   26 #define CHECK_DST       0x05    /* 0 1 0 1 : validate message destination */
   27 #define CHECK_SRC       0x02    /* 0 0 1 0 : validate message source */
   28 #define CHECK_DEADLOCK  0x03    /* 0 0 1 1 : check for deadlock */
   29 
   30 #endif /* IPC_H */

Cache object: 42e5239d360dbfea055a2f935418eb02


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