Changeset 431
- Timestamp:
- Jan 29, 2018, 6:24:50 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.tsar
r416 r431 183 183 build/kernel/syscalls/sys_exec.o \ 184 184 build/kernel/syscalls/sys_stat.o \ 185 build/kernel/syscalls/sys_ trace.o185 build/kernel/syscalls/sys_wait.o 186 186 187 187 SYS_OBJS_4 = build/kernel/syscalls/sys_get_config.o \ 188 188 build/kernel/syscalls/sys_get_core.o \ 189 189 build/kernel/syscalls/sys_get_cycle.o \ 190 build/kernel/syscalls/sys_get_sched.o \ 191 build/kernel/syscalls/sys_panic.o \ 190 build/kernel/syscalls/sys_display.o \ 192 191 build/kernel/syscalls/sys_thread_sleep.o \ 193 build/kernel/syscalls/sys_thread_wakeup.o 192 build/kernel/syscalls/sys_thread_wakeup.o \ 193 build/kernel/syscalls/sys_trace.o \ 194 build/kernel/syscalls/sys_fg.o 194 195 195 196 VFS_OBJS = build/kernel/fs/vfs.o \ … … 233 234 build/boot/boot.elf \ 234 235 build/kernel/kernel.elf \ 236 build/user/init/init.elf \ 235 237 build/user/ksh/ksh.elf \ 236 238 build/user/sort/sort.elf \ … … 272 274 rm -f hard_config.h arch_info.xml arch_info.bin 273 275 rm -rf build 274 cd user/ksh && $(MAKE) clean && cd ../.. 276 cd user/init && $(MAKE) clean && cd ../.. 277 cd user/ksh && $(MAKE) clean && cd ../.. 275 278 cd user/sort && $(MAKE) clean && cd ../.. 276 279 cd user/pgcd && $(MAKE) clean && cd ../.. … … 503 506 # Rules to generate various user .elf and copy on virtual disk 504 507 508 build/user/init/init.elf : user/init/init.c 509 $(MAKE) -C user/init 510 mcopy -o -i $(DISK_IMAGE) user/init/init.elf ::/bin/user 511 505 512 build/user/ksh/ksh.elf : user/ksh/ksh.c 506 513 $(MAKE) -C user/ksh -
trunk/kernel_config.h
r418 r431 124 124 #define CONFIG_PROCESS_HEAP_MIN_SIZE 0x00010000 // user heap min size (bytes) 125 125 #define CONFIG_PROCESS_HEAP_MAX_SIZE 0x30000000 // user heap max size (bytes) 126 #define CONFIG_PROCESS_INIT_PATH "/bin/user/ ksh.elf"126 #define CONFIG_PROCESS_INIT_PATH "/bin/user/init.elf" 127 127 128 128 //////////////////////////////////////////////////////////////////////////////////////////// … … 161 161 //////////////////////////////////////////////////////////////////////////////////////////// 162 162 163 #define CONFIG_SCHED_TICK_MS_PERIOD 1000 // number of milliseconds163 #define CONFIG_SCHED_TICK_MS_PERIOD 5000 // number of milliseconds per period 164 164 #define CONFIG_SCHED_TICKS_PER_QUANTUM 1 // number of ticks between scheduling 165 165 #define CONFIG_SCHED_MAX_THREADS_NR 32 // max number of threads per core … … 183 183 #define CONFIG_RPC_PENDING_MAX 8 // max requests handled by one server 184 184 #define CONFIG_RPC_THREADS_MAX 8 // max number of RPC threads per core 185 186 ////////////////////////////////////////////////////////////////////////////////////////////187 // PROCESS INIT & PROCESS USER TERMINALS188 ////////////////////////////////////////////////////////////////////////////////////////////189 190 #define CONFIG_INIT_STDIN "/dev/external/txt1_rx"191 #define CONFIG_INIT_STDOUT "/dev/external/txt1_tx"192 #define CONFIG_INIT_STDERR "/dev/external/txt1_tx"193 194 #define CONFIG_USER_STDIN "/dev/external/txt2_rx"195 #define CONFIG_USER_STDOUT "/dev/external/txt2_tx"196 #define CONFIG_USER_STDERR "/dev/external/txt2_tx"197 185 198 186 ////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.