source: branches/minix3-book/drivers/drivers.h@ 15

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

Importazione sorgenti libro

File size: 1.0 KB
Line 
1/* This is the master header for all device drivers. It includes some other
2 * files and defines the principal constants.
3 */
4#define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
5#define _MINIX 1 /* tell headers to include MINIX stuff */
6#define _SYSTEM 1 /* get negative error number in <errno.h> */
7
8/* The following are so basic, all the *.c files get them automatically. */
9#include <minix/config.h> /* MUST be first */
10#include <ansi.h> /* MUST be second */
11#include <minix/type.h>
12#include <minix/com.h>
13#include <minix/dmap.h>
14#include <minix/callnr.h>
15#include <sys/types.h>
16#include <minix/const.h>
17#include <minix/devio.h>
18#include <minix/syslib.h>
19#include <minix/sysutil.h>
20#include <minix/bitmap.h>
21
22#include <ibm/interrupt.h> /* IRQ vectors and miscellaneous ports */
23#include <ibm/bios.h> /* BIOS index numbers */
24#include <ibm/ports.h> /* Well-known ports */
25
26#include <string.h>
27#include <signal.h>
28#include <stdlib.h>
29#include <limits.h>
30#include <stddef.h>
31#include <errno.h>
32#include <unistd.h>
33
Note: See TracBrowser for help on using the repository browser.