source: branches/minix3-book/kernel/kernel.h@ 12

Last change on this file since 12 was 4, checked in by Mattia Monga, 14 years ago

Importazione sorgenti libro

File size: 1.4 KB
Line 
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#include <ibm/portio.h> /* device I/O and toggle interrupts */
21
22/* Important kernel header files. */
23#include "config.h" /* configuration, MUST be first */
24#include "const.h" /* constants, MUST be second */
25#include "type.h" /* type definitions, MUST be third */
26#include "proto.h" /* function prototypes */
27#include "glo.h" /* global variables */
28#include "ipc.h" /* IPC constants */
29/* #include "debug.h" */ /* debugging, MUST be last kernel header */
30
31#endif /* KERNEL_H */
32
Note: See TracBrowser for help on using the repository browser.