4 /* Minix release and version numbers. */
6 #define OS_VERSION "1.7"
8 /* This file sets configuration parameters for the MINIX kernel, FS, and PM.
9 * It is divided up into two main sections. The first section contains
10 * user-settable parameters. In the second section, various internal system
11 * parameters are set based on the user-settable parameters.
13 * Parts of config.h have been moved to sys_config.h, which can be included
14 * by other include files that wish to get at the configuration data, but
15 * don't want to pollute the users namespace. Some editable values have
20 /* The MACHINE (called _MINIX_MACHINE) setting can be done
21 * in <minix/machine.h>.
23 #include <minix/sys_config.h>
25 #define MACHINE _MINIX_MACHINE
27 #define IBM_PC _MACHINE_IBM_PC
29 /* Number of slots in the process table for non-kernel processes. The number
30 * of system processes defines how many processes with special privileges
31 * there can be. User processes share the same properties and count for one.
33 * These can be changed in sys_config.h.
35 #define NR_PROCS _NR_PROCS
36 #define NR_SYS_PROCS _NR_SYS_PROCS
37 #define NR_SYS_CHUNKS BITMAP_CHUNKS(NR_SYS_PROCS)
39 /* Number of controller tasks (/dev/cN device classes). */
42 /* DMA_SECTORS may be increased to speed up DMA based drivers. */
43 #define DMA_SECTORS 1 /* DMA buffer size (must be >= 1) */
45 /* Which processes should receive diagnostics from the kernel and system?
46 * Directly sending it to TTY only displays the output. Sending it to the
47 * log driver will cause the diagnostics to be buffered and displayed.
48 * Messages are sent by src/lib/sysutil/kputc.c to these processes, in
49 * the order of this array, which must be terminated by NONE. This is used
50 * by drivers and servers that printf().
51 * The kernel does this for its own kprintf() in kernel/utility.c, also using
52 * this array, but a slightly different mechanism.
54 #define OUTPUT_PROCS_ARRAY { TTY_PROC_NR, LOG_PROC_NR, NONE }
56 /* NR_CONS, NR_RS_LINES, and NR_PTYS determine the number of terminals the
59 #define NR_CONS 4 /* # system consoles (1 to 8) */
60 #define NR_RS_LINES 4 /* # rs232 terminals (0 to 4) */
61 #define NR_PTYS 32 /* # pseudo terminals (0 to 64) */
63 /* This feature enable the counting of system calls in PM and FS */
64 #define ENABLE_SYSCALL_STATS 0
66 /*===========================================================================*
67 * There are no user-settable parameters after this line *
68 *===========================================================================*/
69 /* Set the CHIP type based on the machine selected. The symbol CHIP is actually
70 * indicative of more than just the CPU. For example, machines for which
71 * CHIP == INTEL are expected to have 8259A interrrupt controllers and the
72 * other properties of IBM PC/XT/AT/386 types machines in general. */
73 #define INTEL _CHIP_INTEL /* CHIP type for PC, XT, AT, 386 and clones */
74 #define M68000 _CHIP_M68000 /* CHIP type for Atari, Amiga, Macintosh */
75 #define SPARC _CHIP_SPARC /* CHIP type for SUN-4 (e.g. SPARCstation) */
77 /* Set the FP_FORMAT type based on the machine selected, either hw or sw */
78 #define FP_NONE _FP_NONE /* no floating point support */
79 #define FP_IEEE _FP_IEEE /* conform IEEE floating point standard */
81 /* _MINIX_CHIP is defined in sys_config.h. */
82 #define CHIP _MINIX_CHIP
84 /* _MINIX_FP_FORMAT is defined in sys_config.h. */
85 #define FP_FORMAT _MINIX_FP_FORMAT
87 /* _ASKDEV and _FASTLOAD are defined in sys_config.h. */
88 #define ASKDEV _ASKDEV
89 #define FASTLOAD _FASTLOAD
91 /* Enable or disable system profiling. */
92 #define SPROFILE 1 /* statistical profiling */
93 #define CPROFILE 0 /* call profiling */
95 /* PCI configuration parameters */
99 #endif /* _CONFIG_H */