Changeset 627 for trunk/kernel/kern
- Timestamp:
- May 1, 2019, 5:13:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/cluster.c
r593 r627 700 700 xptr_t txt0_xp; 701 701 xptr_t txt0_lock_xp; 702 uint32_t pref_nr; // number of owned processes in cluster cxy 702 703 703 704 assert( (cluster_is_undefined( cxy ) == false), "illegal cluster index" ); … … 707 708 lock_xp = XPTR( cxy , &LOCAL_CLUSTER->pmgr.local_lock ); 708 709 710 // get number of owned processes in cluster cxy 711 pref_nr = hal_remote_l32( XPTR( cxy , &LOCAL_CLUSTER->pmgr.pref_nr ) ); 712 713 // display nothing if no user process in cluster cxy 714 if( (owned != false) && (pref_nr < 2) ) return; 715 709 716 // get pointers on TXT0 chdev 710 717 txt0_xp = chdev_dir.txt_tx[0]; … … 721 728 remote_busylock_acquire( txt0_lock_xp ); 722 729 723 // display header724 730 nolock_printk("\n***** processes in cluster %x / cycle %d\n", 725 731 cxy , (uint32_t)hal_get_cycles() );
Note: See TracChangeset
for help on using the changeset viewer.