Changeset 556 for trunk/kernel/kern/kernel_init.c
- Timestamp:
- Sep 21, 2018, 10:25:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r550 r556 24 24 25 25 #include <kernel_config.h> 26 #include <hard_config.h> // for the USE_TXT_XXX macros 26 27 #include <errno.h> 27 28 #include <hal_kernel_types.h> … … 424 425 425 426 /////////////////////////////// 426 else if ( func == DEV_FUNC_TXT && info->use_mty0== 1 )427 else if ( func == DEV_FUNC_TXT && USE_TXT_MTY == 1 ) 427 428 { 428 429 assert(impl == IMPL_TXT_MTY, … … 592 593 { 593 594 // skip TXT_TX[0] chdev that has already been created & registered 594 if( info->use_mty0== 0 && (func == DEV_FUNC_TXT) && (channel == 0) && (rx == 0) )595 if( USE_TXT_MTY == 0 && (func == DEV_FUNC_TXT) && (channel == 0) && (rx == 0) ) 595 596 { 596 597 continue; … … 598 599 599 600 // skip TXT chdevs because they are initialized in internal_devices_init() 600 if ( info->use_mty0== 1 && func == DEV_FUNC_TXT )601 if ( USE_TXT_MTY == 1 && func == DEV_FUNC_TXT ) 601 602 { 602 603 continue; … … 967 968 if( core_cxy == 0 && core_lid == 0 ) // [MODIF] 968 969 { 969 if( info->use_mty0== 1 ) {970 if( USE_TXT_MTY == 1 ) { 970 971 mtty0_device_init( info ); 971 972 } else { … … 1355 1356 1356 1357 #if (DEBUG_KERNEL_INIT & 1) 1357 if( (core_lid == 0) & (local_cxy == 0))1358 if( (core_lid == 0) /*& (local_cxy == 0)*/ ) 1358 1359 sched_display( 0 ); 1359 1360 #endif
Note: See TracChangeset
for help on using the changeset viewer.