Changeset 16 for trunk/kernel_config.h
- Timestamp:
- May 10, 2017, 5:04:01 PM (7 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel_config.h
r12 r16 45 45 #define CONFIG_KCM_DEBUG 0 46 46 #define CONFIG_KHM_DEBUG 0 47 #define CONFIG_KINIT_DEBUG 047 #define CONFIG_KINIT_DEBUG 1 48 48 #define CONFIG_KMEM_DEBUG 0 49 49 #define CONFIG_MMC_DEBUG 0 … … 54 54 #define CONFIG_PROCESS_DEBUG 0 55 55 #define CONFIG_RPC_DEBUG 0 56 #define CONFIG_SCHED_DEBUG 057 #define CONFIG_THREAD_DEBUG 056 #define CONFIG_SCHED_DEBUG 1 57 #define CONFIG_THREAD_DEBUG 1 58 58 #define CONFIG_TXT_DEBUG 0 59 59 #define CONFIG_VFS_DEBUG 0 … … 77 77 #define CONFIG_CLUSTER_SPAN 32 // ln(phys. address space per cluster) 78 78 #define CONFIG_CACHE_LINE_SIZE 64 // number of bytes in cache line 79 80 #define CONFIG_CACHE_LINE_ALIGNED __attribute__((aligned(CONFIG_CACHE_LINE_SIZE))) 79 81 80 82 #define CONFIG_MAX_IOC_CHANNELS 1 // max number of IOC device channels … … 137 139 //////////////////////////////////////////////////////////////////////////////////////////// 138 140 139 #define CONFIG_RWLOCK_DELAY 50 // number of iterations => 200 cycles141 #define CONFIG_RWLOCK_DELAY 50 // iterations number ( ~ 200 cycles ) 140 142 141 143 //////////////////////////////////////////////////////////////////////////////////////////// … … 144 146 145 147 #define CONFIG_DQDT_LEVELS_NR 5 146 #define CONFIG_DQDT_PERIOD 1 // number of ticks between updates148 #define CONFIG_DQDT_PERIOD 1 // number of ticks between updates 147 149 148 150 //////////////////////////////////////////////////////////////////////////////////////////// … … 157 159 //////////////////////////////////////////////////////////////////////////////////////////// 158 160 159 #define CONFIG_SCHED_TICK_PERIOD 50000 // number of cycles160 #define CONFIG_SCHED_MAX_THREADS_NR 32 // max number of threads per core161 #define CONFIG_SCHED_TICK_PERIOD 500000 // number of cycles 162 #define CONFIG_SCHED_MAX_THREADS_NR 32 // max number of threads per core 161 163 162 164 //////////////////////////////////////////////////////////////////////////////////////////// … … 164 166 //////////////////////////////////////////////////////////////////////////////////////////// 165 167 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 ) 168 #define CONFIG_THREAD_MAX_PER_CLUSTER 16 // max user threads per cluster 169 #define CONFIG_THREAD_DESC_SIZE 0x2000 // thread desc size (with kstack) 170 #define CONFIG_THREAD_DESC_ORDER 1 // ln( number of 4K pages ) 168 171 169 172 //////////////////////////////////////////////////////////////////////////////////////////// … … 230 233 231 234 #define CONFIG_KCM_BLOCKS_MAX CONFIG_PPM_PAGE_SIZE / CONFIG_CACHE_LINE_SIZE 235 236 #define CONFIG_PPM_PAGE_ALIGNED __attribute__((aligned(CONFIG_PPM_PAGE_SIZE))) 232 237 233 238 ////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.