Changeset 285
- Timestamp:
- Jan 31, 2014, 4:10:30 PM (11 years ago)
- Location:
- branch/giet_vm_ioc_drivers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branch/giet_vm_ioc_drivers/giet_boot/boot.c
r283 r285 1169 1169 unsigned int alloc_tim_channel[X_SIZE*Y_SIZE]; // user TIMER allocators 1170 1170 1171 if ( !GIET_MONO_TTY) alloc_tty_channel++;1171 if (NB_TTY_CHANNELS > 1) alloc_tty_channel++; 1172 1172 1173 1173 ///////////////////////////////////////////////////////////////////////// … … 1372 1372 } 1373 1373 ctx_tty = alloc_tty_channel; 1374 if ( !GIET_MONO_TTY) alloc_tty_channel++;1374 if (NB_TTY_CHANNELS > 1) alloc_tty_channel++; 1375 1375 } 1376 1376 // ctx_nic : NIC channel global index provided by the global allocator -
branch/giet_vm_ioc_drivers/giet_config.h
r267 r285 37 37 #define GIET_IDLE_TASK_VERBOSITY 1 38 38 39 #define GIET_MONO_TTY 0 /* Only one terminal is used */40 41 39 #define GIET_MAX_ELF_FILES 20 /* max .elf files loaded by boot-loader */ 42 40 #define GIET_OPEN_FILES_MAX 16 /* max simultaneously open files */ -
branch/giet_vm_ioc_drivers/giet_libs/stdio.c
r271 r285 298 298 unsigned int ret; 299 299 300 if ( GIET_MONO_TTY)300 if (NB_TTY_CHANNELS == 1) 301 301 { 302 302 ret = sys_call(SYSCALL_TTY_LOCK, 0, 0, 0, 0); // Get TTY lock … … 328 328 } 329 329 330 if ( GIET_MONO_TTY)330 if (NB_TTY_CHANNELS == 1) 331 331 { 332 332 ret = sys_call(SYSCALL_TTY_LOCK, 1, 0, 0, 0); // Release TTY lock … … 412 412 413 413 return_error: 414 if ( GIET_MONO_TTY)414 if (NB_TTY_CHANNELS == 1) 415 415 { 416 416 ret = sys_call(SYSCALL_TTY_LOCK, 1, 0, 0, 0); // Release TTY lock -
branch/giet_vm_ioc_drivers/mappings/4c_1p_sort_chiplet.xml
r283 r285 35 35 </proc> 36 36 37 <periph type = "XCU" psegname = "PSEG_XCU" channels = " 1" />37 <periph type = "XCU" psegname = "PSEG_XCU" channels = "6" /> 38 38 <periph type = "MMC" psegname = "PSEG_MMC" channels = "1" /> 39 39 <periph type = "IOC" psegname = "PSEG_IOC" channels = "1" subtype = "SPI" /> … … 53 53 </proc> 54 54 55 <periph type = "XCU" psegname = "PSEG_XCU" channels = " 1" />55 <periph type = "XCU" psegname = "PSEG_XCU" channels = "6" /> 56 56 <periph type = "MMC" psegname = "PSEG_MMC" channels = "1" /> 57 57 </cluster> … … 67 67 </proc> 68 68 69 <periph type = "XCU" psegname = "PSEG_XCU" channels = " 1" />69 <periph type = "XCU" psegname = "PSEG_XCU" channels = "6" /> 70 70 <periph type = "MMC" psegname = "PSEG_MMC" channels = "1" /> 71 71 </cluster> … … 81 81 </proc> 82 82 83 <periph type = "XCU" psegname = "PSEG_XCU" channels = " 1" />83 <periph type = "XCU" psegname = "PSEG_XCU" channels = "6" /> 84 84 <periph type = "MMC" psegname = "PSEG_MMC" channels = "1" /> 85 85 </cluster>
Note: See TracChangeset
for help on using the changeset viewer.