Changeset 71 for trunk/kernel
- Timestamp:
- Jun 27, 2017, 10:43:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r70 r71 658 658 &core_gid ); 659 659 660 // CP0 initialise cluster identifier 661 if( core_lid == 0 ) local_cxy = info->cxy; 662 663 // each core get pointer on its private idle thread descriptor 664 thread = (thread_t *)( idle_threads + (core_lid * CONFIG_THREAD_DESC_SIZE) ); 665 666 // each core registers this thread pointer in hardware register 667 hal_set_current_thread( thread ); 668 660 669 #ifdef __HAL_x86_64__ 661 670 return; 662 671 #endif 663 672 664 // CP0 initialise cluster identifier665 if( core_lid == 0 ) local_cxy = info->cxy;666 667 // each core get pointer on its private idle thread descriptor668 thread = (thread_t *)( idle_threads + (core_lid * CONFIG_THREAD_DESC_SIZE) );669 670 // each core register this thread pointer in hardware register671 hal_set_current_thread( thread );672 673 673 // CP0 in I/O cluster initialises TXT0 chdev descriptor 674 674 if( (core_lid == 0) && (core_cxy == info->io_cxy) ) txt0_device_init( info );
Note: See TracChangeset
for help on using the changeset viewer.