Changeset 590
- Timestamp:
- Nov 1, 2018, 12:52:18 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r578 r590 17 17 NB_PROCS ?= 2 18 18 NB_TTYS ?= 3 19 FBF_WIDTH ?= 25620 19 IOC_TYPE ?= IOC_BDV 20 TXT_TYPE ?= TXT_TTY 21 FBF_TYPE ?= FBF_SCL 22 SYS_CLK ?= 50000 21 23 22 24 # Checking hardware platform definition. … … 128 130 --nb_cores=$(NB_PROCS) \ 129 131 --nb_ttys=$(NB_TTYS) \ 130 --fbf_size=$(FBF_WIDTH) \131 132 --ioc_type=$(IOC_TYPE) \ 133 --txt_type=$(TXT_TYPE) \ 134 --fbf_type=$(FBF_TYPE) \ 135 --sys_clk=$(SYS_CLK) \ 132 136 --hard=. \ 133 137 --bin=. \ -
trunk/kernel/Makefile
r576 r590 177 177 build/syscalls/sys_get_cycle.o \ 178 178 build/syscalls/sys_display.o \ 179 build/syscalls/sys_place_fork.o \ 179 180 build/syscalls/sys_thread_sleep.o \ 180 181 build/syscalls/sys_thread_wakeup.o \ -
trunk/kernel/kernel_config.h
r582 r590 2 2 * kernel_config.h - global kernel configuration arguments 3 3 * 4 * Authors Ghassan Almaless (2008,2009,2010,2011,2012) 5 * Mohamed Lamine Karaoui (2015) 4 * Authors Mohamed Lamine Karaoui (2015) 6 5 * Alain Greiner (2016,2017,2018) 7 6 * … … 39 38 40 39 #define DEBUG_BUSYLOCK 1 41 #define DEBUG_BUSYLOCK_THREAD_XP 0x 11000CC000ULL // selected thread extended pointer (ULL)40 #define DEBUG_BUSYLOCK_THREAD_XP 0x0000000000ULL // selected thread extended pointer 42 41 43 42 #define DEBUG_CHDEV_CMD_RX 0 … … 66 65 #define DEBUG_DEVFS_MOVE 0 67 66 68 #define DEBUG_DQDT_INIT 1 67 #define DEBUG_DQDT_INIT 0 68 #define DEBUG_DQDT_UPDATE_THREADS 0 69 #define DEBUG_DQDT_SELECT_FOR_PROCESS 0 70 #define DEBUG_DQDT_UPDATE_PAGES 0 71 #define DEBUG_DQDT_SELECT_FOR_MEMORY 0 69 72 70 73 #define DEBUG_FATFS_INIT 0 … … 73 76 #define DEBUG_FATFS_GET_CLUSTER 0 74 77 75 #define DEBUG_HAL_GPT_ACCESS 0 78 #define DEBUG_HAL_GPT_SET_PTE 0 79 #define DEBUG_HAL_GPT_COPY 0 76 80 #define DEBUG_HAL_GPT_CREATE 0 77 81 #define DEBUG_HAL_GPT_DESTROY 0 … … 135 139 #define DEBUG_RWLOCK 0 136 140 137 #define DEBUG_SCHED_HANDLE_SIGNALS 0141 #define DEBUG_SCHED_HANDLE_SIGNALS 2 138 142 #define DEBUG_SCHED_YIELD 2 // must be activated by the trace() syscall 139 #define DEBUG_SCHED_RPC_ CHECK0143 #define DEBUG_SCHED_RPC_ACTIVATE 0 140 144 141 145 #define DEBUG_SEM 0 … … 205 209 #define DEBUG_VMM_GET_PTE 0 206 210 #define DEBUG_VMM_HANDLE_PAGE_FAULT 0 211 #define DEBUG_VMM_HANDLE_COW 0 207 212 #define DEBUG_VMM_INIT 0 208 213 #define DEBUG_VMM_PAGE_ALLOCATE 0 … … 258 263 #define LOCK_VFS_FILE 32 // remote (RW) protect file descriptor state 259 264 #define LOCK_VMM_VSL 33 // remote (RW) protect VSL (local list of vsegs) 265 #define LOCK_VMM_GPT 34 // remote (RW) protect GPT (local page table) 266 260 267 261 268 //////////////////////////////////////////////////////////////////////////////////////////// … … 337 344 #define CONFIG_SCHED_TICKS_PER_QUANTUM 1 // number of ticks between scheduling 338 345 #define CONFIG_SCHED_MAX_THREADS_NR 32 // max number of threads per core 346 #define CONFIG_SCHED_IDLE_MODE_SLEEP 0 // idle thread use sleep mode if non 0 339 347 340 348 //////////////////////////////////////////////////////////////////////////////////////////// … … 342 350 //////////////////////////////////////////////////////////////////////////////////////////// 343 351 344 #define CONFIG_THREADS_MAX_PER_CLUSTER 16// max threads per cluster per process352 #define CONFIG_THREADS_MAX_PER_CLUSTER 32 // max threads per cluster per process 345 353 #define CONFIG_THREAD_DESC_SIZE 0x4000 // thread desc size (with kernel stack) 346 354 #define CONFIG_THREAD_DESC_ORDER 2 // ln( number of 4K pages ) 347 #define CONFIG_THREAD_IDLE_MODE_SLEEP false // idle thread enter sleep mode348 355 349 356 //////////////////////////////////////////////////////////////////////////////////////////// … … 359 366 //////////////////////////////////////////////////////////////////////////////////////////// 360 367 361 #define CONFIG_MAPPER_MAX_FRAGMENTS 10 // max number of fragments moved362 #define CONFIG_MAPPER_MIN CONFIG_VFS_INODE_MIN363 #define CONFIG_MAPPER_MAX CONFIG_VFS_INODE_MAX368 #define CONFIG_MAPPER_MAX_FRAGMENTS 10 // max number of fragments moved 369 #define CONFIG_MAPPER_MIN CONFIG_VFS_INODE_MIN 370 #define CONFIG_MAPPER_MAX CONFIG_VFS_INODE_MAX 364 371 365 372 //////////////////////////////////////////////////////////////////////////////////////////// -
trunk/params-hard.mk
r581 r590 6 6 NB_PROCS = 2 7 7 NB_TTYS = 3 8 FBF_WIDTH = 1289 8 IOC_TYPE = IOC_BDV 9 TXT_TYPE = TXT_TTY 10 FBF_TYPE = FBF_SCL 11 SYS_CLK = 50000
Note: See TracChangeset
for help on using the changeset viewer.