Changeset 12 for trunk/almos_config.h
- Timestamp:
- Apr 26, 2017, 2:40:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/almos_config.h
r1 r12 30 30 31 31 //////////////////////////////////////////////////////////////////////////////////////////// 32 // KERNEL DEBUG 33 //////////////////////////////////////////////////////////////////////////////////////////// 34 35 #define CONFIG_CONTEXT_DEBUG 0 36 #define CONFIG_CORE_DEBUG 0 37 #define CONFIG_DMA_DEBUG 0 38 #define CONFIG_DQDT_DEBUG 0 39 #define CONFIG_ELF_DEBUG 0 40 #define CONFIG_EXEC_DEBUG 0 41 #define CONFIG_FBF_DEBUG 0 42 #define CONFIG_FORK_DEBUG 0 43 #define CONFIG_ICU_DEBUG 0 44 #define CONFIG_IOC_DEBUG 0 45 #define CONFIG_KCM_DEBUG 0 46 #define CONFIG_KHM_DEBUG 0 47 #define CONFIG_KINIT_DEBUG 0 48 #define CONFIG_KMEM_DEBUG 0 49 #define CONFIG_MMC_DEBUG 0 50 #define CONFIG_MAPPER_DEBUG 0 51 #define CONFIG_NIC_DEBUG 0 52 #define CONFIG_PIC_DEBUG 0 53 #define CONFIG_PPM_DEBUG 0 54 #define CONFIG_PROCESS_DEBUG 0 55 #define CONFIG_RPC_DEBUG 0 56 #define CONFIG_SCHED_DEBUG 0 57 #define CONFIG_THREAD_DEBUG 0 58 #define CONFIG_TXT_DEBUG 0 59 #define CONFIG_VFS_DEBUG 0 60 #define CONFIG_VMM_DEBUG 0 61 62 //////////////////////////////////////////////////////////////////////////////////////////// 32 63 // HARDWARE CONFIGURATION 33 64 //////////////////////////////////////////////////////////////////////////////////////////// … … 36 67 #define CONFIG_CYCLES_PER_MS 1000000 // about 1 Ghz 37 68 #define CONFIG_MAX_CLUSTER 256 // max number of clusters 38 #define CONFIG_MAX_CORES_PER_CLUSTER 4 // max number of cores per cluster 39 #define CONFIG_MAX_DEVICES_PER_CLUSTER 32 // max number of periphs per cluster 69 #define CONFIG_MAX_LOCAL_CORES 4 // max number of cores per cluster 70 #define CONFIG_MAX_INT_DEV 4 // max number of internal peripherals 71 #define CONFIG_MAX_EXT_DEV 8 // max number of external peripherals 40 72 #define CONFIG_MAX_HWIS_PER_ICU 32 // max number of HWI per ICU 41 73 #define CONFIG_MAX_PTIS_PER_ICU 32 // max number of PTI per ICU … … 46 78 #define CONFIG_CACHE_LINE_SIZE 64 // number of bytes in cache line 47 79 48 #define CONFIG_MAX_TXT_CHANNELS 32 // max number of TXT device channels 49 #define CONFIG_MAX_NIC_CHANNELS 32 // max number of NIC device channels 50 #define CONFIG_MAX_CMA_CHANNELS 32 // max number of CMA device channels 80 #define CONFIG_MAX_IOC_CHANNELS 1 // max number of IOC device channels 81 #define CONFIG_MAX_FBF_CHANNELS 1 // max number of FBF device channels 82 #define CONFIG_MAX_TXT_CHANNELS 16 // max number of TXT device channels 83 #define CONFIG_MAX_DMA_CHANNELS 8 // max number of TXT device channels 84 #define CONFIG_MAX_NIC_CHANNELS 8 // max number of NIC device channels 85 51 86 #define CONFIG_MAX_CLUSTERS 256 // max number of clusters 52 87 … … 129 164 //////////////////////////////////////////////////////////////////////////////////////////// 130 165 131 #define CONFIG_THREAD_MAX_PER_CLUSTER 16 // max number of user threads per cluster132 #define CONFIG_THREAD_PAGE_ORDER 1 // ln( number of pages for thread_t )166 #define CONFIG_THREAD_MAX_PER_CLUSTER 16 // max number of user threads per cluster 167 #define CONFIG_THREAD_PAGE_ORDER 1 // ln( number of pages for thread_t ) 133 168 134 169 //////////////////////////////////////////////////////////////////////////////////////////// … … 144 179 //////////////////////////////////////////////////////////////////////////////////////////// 145 180 146 #define CONFIG_RPC_PENDING_MAX 8 // max requests handled by one server147 #define CONFIG_RPC_THREADS_MAX 8 // max number of RPC threads per core181 #define CONFIG_RPC_PENDING_MAX 8 // max requests handled by one server 182 #define CONFIG_RPC_THREADS_MAX 8 // max number of RPC threads per core 148 183 149 184 //////////////////////////////////////////////////////////////////////////////////////////// … … 151 186 //////////////////////////////////////////////////////////////////////////////////////////// 152 187 153 #define CONFIG_DEV_STDIN "/dev/tty2"154 #define CONFIG_DEV_STDOUT "/dev/tty2"155 #define CONFIG_DEV_STDERR "/dev/tty3"188 #define CONFIG_DEV_STDIN "/dev/tty2" 189 #define CONFIG_DEV_STDOUT "/dev/tty2" 190 #define CONFIG_DEV_STDERR "/dev/tty3" 156 191 157 192 //////////////////////////////////////////////////////////////////////////////////////////// … … 159 194 //////////////////////////////////////////////////////////////////////////////////////////// 160 195 161 #define CONFIG_MAPPER_MAX_FRAGMENTS 10 // max number of fragments moved162 #define CONFIG_MAPPER_MIN CONFIG_VFS_INODE_MIN163 #define CONFIG_MAPPER_MAX CONFIG_VFS_INODE_MAX196 #define CONFIG_MAPPER_MAX_FRAGMENTS 10 // max number of fragments moved 197 #define CONFIG_MAPPER_MIN CONFIG_VFS_INODE_MIN 198 #define CONFIG_MAPPER_MAX CONFIG_VFS_INODE_MAX 164 199 165 200 //////////////////////////////////////////////////////////////////////////////////////////// … … 194 229 #define CONFIG_PPM_HEAP_ORDER 10 // ln(number of heap pages per cluster) 195 230 196 //////////////////////////////////////////////////////////////////////////////////////////// 197 // KERNEL DEBUG 198 //////////////////////////////////////////////////////////////////////////////////////////// 199 200 #define CONFIG_DMSG_LEVEL DMSG_DEBUG 201 #define CONFIG_XICU_USR_ACCESS no 231 #define CONFIG_KCM_BLOCKS_MAX CONFIG_PPM_PAGE_SIZE / CONFIG_CACHE_LINE_SIZE 232 233 //////////////////////////////////////////////////////////////////////////////////////////// 234 // INSTRUMENTATION ... probably deprecated ... 235 //////////////////////////////////////////////////////////////////////////////////////////// 236 202 237 #define CONFIG_SPINLOCK_CHECK no 203 238 #define CONFIG_SPINLOCK_TIMEOUT 100 … … 222 257 #define CONFIG_SHOW_EPC_CORE0 no 223 258 #define CONFIG_CORE_TRACE no 224 #define CONFIG_DQDT_DEBUG no225 259 #define CONFIG_KFIFO_DEBUG no 226 #define CONFIG_KHM_DEBUG no227 #define CONFIG_KCM_DEBUG no228 #define CONFIG_KMEM_DEBUG no229 #define CONFIG_MAPPER_DEBUG no230 260 #define CONFIG_SHOW_KMEM_INIT no 231 261 #define CONFIG_MEM_CHECK no 232 262 #define CONFIG_THREAD_TIME_STAT yes 233 263 #define CONFIG_SCHED_RR_CHECK no 234 #define CONFIG_FORK_DEBUG no//yes235 #define CONFIG_VMM_DEBUG no236 #define CONFIG_ELF_DEBUG no237 264 #define CONFIG_VFAT_PGWRITE_ENABLE no 238 265 #define CONFIG_VFAT_DEBUG no … … 240 267 #define CONFIG_EXT2_DEBUG no 241 268 #define CONFIG_METAFS_DEBUG no 242 #define CONFIG_VFS_DEBUG no243 269 #define CONFIG_VFS_INODE_LOCAL yes 244 270 #define CONFIG_DEVFS_DEBUG no … … 247 273 #define CONFIG_BC_DEBUG no 248 274 #define CONFIG_BC_INSTRUMENT no 249 #define CONFIG_LOCKS_DEBUG no250 #define CONFIG_SCHED_DEBUG no251 #define CONFIG_VERBOSE_LOCK no252 #define CONFIG_PID_DEBUG no//yes253 #define CONFIG_HTBL_DEBUG no254 #define CONFIG_SHOW_RPC_MSG no255 #define CONFIG_EXEC_DEBUG no256 #define CONFIG_USE_RPC_TEST yes257 #define CONFIG_SHOW_ALL_BOOT_MSG no//yes258 #define CONFIG_ALMOS_LIST_DEBUG no259 ////////////////////////////////////////////////////////////////////////////////////////////260 275 261 276 ////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.