kernel/vm: change pde table info from single buffer to explicit per-process.
[minix.git] / include / minix / sys_config.h
blob7505e260a4fd6ef7bb997e626b4abcd5c2ad0747
1 #ifndef _MINIX_SYS_CONFIG_H
2 #define _MINIX_SYS_CONFIG_H 1
4 /*===========================================================================*
5 * This section contains user-settable parameters *
6 *===========================================================================*/
7 #define _MINIX_MACHINE _MACHINE_IBM_PC
9 #define _MACHINE_IBM_PC 1 /* any 8088 or 80x86-based system */
11 /* Word size in bytes (a constant equal to sizeof(int)). */
12 #if __ACK__ || __GNUC__
13 #define _WORD_SIZE _EM_WSIZE
14 #define _PTR_SIZE _EM_WSIZE
15 #endif
17 #define _NR_PROCS 256
18 #define _NR_SYS_PROCS 32
20 /* Set the CHIP type based on the machine selected. The symbol CHIP is actually
21 * indicative of more than just the CPU. For example, machines for which
22 * CHIP == INTEL are expected to have 8259A interrrupt controllers and the
23 * other properties of IBM PC/XT/AT/386 types machines in general. */
24 #define _CHIP_INTEL 1 /* CHIP type for PC, XT, AT, 386 and clones */
25 #define _CHIP_M68000 2 /* CHIP type for Atari, Amiga, Macintosh */
26 #define _CHIP_SPARC 3 /* CHIP type for SUN-4 (e.g. SPARCstation) */
28 /* Set the FP_FORMAT type based on the machine selected, either hw or sw */
29 #define _FP_NONE 0 /* no floating point support */
30 #define _FP_IEEE 1 /* conform IEEE floating point standard */
32 #if (_MINIX_MACHINE == _MACHINE_IBM_PC)
33 #define _MINIX_CHIP _CHIP_INTEL
34 #endif
36 #ifndef _MINIX_FP_FORMAT
37 #define _MINIX_FP_FORMAT _FP_NONE
38 #endif
40 #ifndef _MINIX_MACHINE
41 error "In <minix/sys_config.h> please define _MINIX_MACHINE"
42 #endif
44 #ifndef _MINIX_CHIP
45 error "In <minix/sys_config.h> please define _MINIX_MACHINE to have a legal value"
46 #endif
48 #if (_MINIX_MACHINE == 0)
49 error "_MINIX_MACHINE has incorrect value (0)"
50 #endif
52 /* Kernel debug checks */
53 #define DEBUG_LOCK_CHECK 1 /* Interrupt Lock/unlock sanity checking. */
55 #define _KMESS_BUF_SIZE 10000
57 #endif /* _MINIX_SYS_CONFIG_H */