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/kernel.h

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 #ifndef KERNEL_H
    2 #define KERNEL_H
    3 
    4 /* This is the master header for the kernel.  It includes some other files
    5  * and defines the principal constants.
    6  */
    7 #define _POSIX_SOURCE      1    /* tell headers to include POSIX stuff */
    8 #define _MINIX             1    /* tell headers to include MINIX stuff */
    9 #define _SYSTEM            1    /* tell headers that this is the kernel */
   10 
   11 /* The following are so basic, all the *.c files get them automatically. */
   12 #include <minix/config.h>       /* global configuration, MUST be first */
   13 #include <ansi.h>               /* C style: ANSI or K&R, MUST be second */
   14 #include <sys/types.h>          /* general system types */
   15 #include <minix/const.h>        /* MINIX specific constants */
   16 #include <minix/type.h>         /* MINIX specific types, e.g. message */
   17 #include <minix/ipc.h>          /* MINIX run-time system */
   18 #include <timers.h>             /* watchdog timer management */
   19 #include <errno.h>              /* return codes and error numbers */
   20 
   21 #if (CHIP == INTEL)
   22 #include <ibm/portio.h>         /* device I/O and toggle interrupts */ 
   23 #endif
   24 
   25 /* Important kernel header files. */
   26 #include "config.h"             /* configuration, MUST be first */
   27 #include "const.h"              /* constants, MUST be second */
   28 #include "type.h"               /* type definitions, MUST be third */
   29 #include "proto.h"              /* function prototypes */
   30 #include "glo.h"                /* global variables */
   31 #include "ipc.h"                /* IPC constants */
   32 #include "debug.h"              /* debugging, MUST be last kernel header */
   33 
   34 #endif /* KERNEL_H */

Cache object: 04cbaafad1582f164c1f95afd366775e


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