VM: simplify slab allocator
[minix.git] / include / minix / drivers.h
blobca09746024724e9619a6885b55d64b31b48cd102
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 <minix/type.h>
15 #include <minix/com.h>
16 #include <minix/dmap.h>
17 #include <minix/callnr.h>
18 #include <sys/types.h>
19 #include <minix/const.h>
20 #include <minix/devio.h>
21 #include <minix/syslib.h>
22 #include <minix/sysutil.h>
23 #include <minix/timers.h>
24 #include <minix/spin.h>
25 #include <minix/bitmap.h>
27 #include <machine/interrupt.h> /* IRQ vectors and miscellaneous ports */
28 #if defined(__i386__)
29 #include <machine/bios.h> /* BIOS index numbers */
30 #include <machine/ports.h> /* Well-known ports */
31 #endif
33 #include <string.h>
34 #include <signal.h>
35 #include <stdlib.h>
36 #include <limits.h>
37 #include <stddef.h>
38 #include <errno.h>
39 #include <unistd.h>
40 #include <sys/param.h>
42 #endif