panic() cleanup.
[minix.git] / drivers / drivers.h
blobd4b6e6bafa330985e3826c30f58e85e74d7b3744
1 /* This is the master header for all device drivers. It includes some other
2 * files and defines the principal constants.
3 */
5 #ifndef _INC_DRIVERS_H
6 #define _INC_DRIVERS_H
8 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
9 #define _MINIX 1 /* tell headers to include MINIX stuff */
10 #define _SYSTEM 1 /* get negative error number in <errno.h> */
12 /* The following are so basic, all the *.c files get them automatically. */
13 #include <minix/config.h> /* MUST be first */
14 #include <ansi.h> /* MUST be second */
15 #include <minix/type.h>
16 #include <minix/com.h>
17 #include <minix/dmap.h>
18 #include <minix/callnr.h>
19 #include <sys/types.h>
20 #include <minix/const.h>
21 #include <minix/devio.h>
22 #include <minix/syslib.h>
23 #include <minix/sysutil.h>
24 #include <minix/bitmap.h>
26 #include <ibm/interrupt.h> /* IRQ vectors and miscellaneous ports */
27 #include <ibm/bios.h> /* BIOS index numbers */
28 #include <ibm/ports.h> /* Well-known ports */
30 #include <string.h>
31 #include <signal.h>
32 #include <stdlib.h>
33 #include <limits.h>
34 #include <stddef.h>
35 #include <errno.h>
36 #include <unistd.h>
38 #endif