00001 #ifndef _MINIX_SYS_CONFIG_H
00002 #define _MINIX_SYS_CONFIG_H 1
00003
00004
00005
00006
00007 #define _MINIX_MACHINE _MACHINE_IBM_PC
00008
00009 #define _MACHINE_IBM_PC 1
00010 #define _MACHINE_SUN_4 40
00011 #define _MACHINE_SUN_4_60 40
00012 #define _MACHINE_ATARI 60
00013 #define _MACHINE_MACINTOSH 62
00014
00015
00016 #if __ACK__ || __GNUC__
00017 #define _WORD_SIZE _EM_WSIZE
00018 #define _PTR_SIZE _EM_WSIZE
00019 #endif
00020
00021 #define _NR_PROCS 100
00022 #define _NR_SYS_PROCS 32
00023 #define _NR_HOLES (2*_NR_PROCS+4)
00024
00025
00026
00027
00028
00029 #define _CHIP_INTEL 1
00030 #define _CHIP_M68000 2
00031 #define _CHIP_SPARC 3
00032
00033
00034 #define _FP_NONE 0
00035 #define _FP_IEEE 1
00036
00037 #if (_MINIX_MACHINE == _MACHINE_IBM_PC)
00038 #define _MINIX_CHIP _CHIP_INTEL
00039 #endif
00040
00041 #if (_MINIX_MACHINE == _MACHINE_ATARI) || (_MINIX_MACHINE == _MACHINE_MACINTOSH)
00042 #define _MINIX_CHIP _CHIP_M68000
00043 #endif
00044
00045 #if (_MINIX_MACHINE == _MACHINE_SUN_4) || (_MINIX_MACHINE == _MACHINE_SUN_4_60)
00046 #define _MINIX_CHIP _CHIP_SPARC
00047 #define _MINIX_FP_FORMAT _FP_IEEE
00048 #endif
00049
00050 #if (_MINIX_MACHINE == _MACHINE_ATARI) || (_MINIX_MACHINE == _MACHINE_SUN_4)
00051 #define _ASKDEV 1
00052 #define _FASTLOAD 1
00053 #endif
00054
00055 #ifndef _MINIX_FP_FORMAT
00056 #define _MINIX_FP_FORMAT _FP_NONE
00057 #endif
00058
00059 #ifndef _MINIX_MACHINE
00060 error "In <minix/sys_config.h> please define _MINIX_MACHINE"
00061 #endif
00062
00063 #ifndef _MINIX_CHIP
00064 error "In <minix/sys_config.h> please define _MINIX_MACHINE to have a legal value"
00065 #endif
00066
00067 #if (_MINIX_MACHINE == 0)
00068 error "_MINIX_MACHINE has incorrect value (0)"
00069 #endif
00070
00071
00072 #define DEBUG_LOCK_CHECK 0
00073
00074 #endif