Changeset 637 for trunk/kernel/kern/thread.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.c
r635 r637 247 247 else 248 248 { 249 core_lid = cluster_select_local_core( );249 core_lid = cluster_select_local_core( local_cxy ); 250 250 } 251 251 … … 375 375 printk("\n[%s] CPU & FPU contexts created\n", 376 376 __FUNCTION__, thread->trdid ); 377 hal_vmm_display( process, true );377 hal_vmm_display( XPTR( local_cxy , process ) , true ); 378 378 #endif 379 379 … … 418 418 419 419 // select a target core in local cluster 420 core_lid = cluster_select_local_core( );420 core_lid = cluster_select_local_core( local_cxy ); 421 421 422 422 #if (DEBUG_THREAD_USER_FORK & 1) … … 724 724 printk("\n[%s] thread[%x,%x] set CPU context & jump to user code / cycle %d\n", 725 725 __FUNCTION__, process->pid, thread->trdid, cycle ); 726 hal_vmm_display( process, true );726 hal_vmm_display( XPTR( local_cxy , process ) , true ); 727 727 #endif 728 728 … … 1332 1332 // check trdid argument 1333 1333 if( (target_thread_ltid >= CONFIG_THREADS_MAX_PER_CLUSTER) || 1334 cluster_is_ undefined( target_cxy ) )return XPTR_NULL;1334 cluster_is_active( target_cxy ) == false ) return XPTR_NULL; 1335 1335 1336 1336 // get root of list of process descriptors in target cluster
Note: See TracChangeset
for help on using the changeset viewer.