Changeset 5 for trunk/kernel/kern/cluster.c
- Timestamp:
- Apr 26, 2017, 2:11:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/cluster.c
r1 r5 48 48 /////////////////////////////////////////////////////////////////////////////////////////// 49 49 50 process_t process_zero; 50 process_t process_zero; // allocated in kernel_init.c file 51 51 52 52 … … 78 78 cluster->cores_in_kernel = info->cores_nr; // all cpus start in kernel mode 79 79 80 // initialize kcm lock80 // initialize the lock protectig the embedded kcm allocator 81 81 spinlock_init( &cluster->kcm_lock ); 82 83 // initialize txt0 lock84 remote_spinlock_init( XPTR( local_cxy , &cluster->txt0_lock ) );85 82 86 83 // initialises DQDT … … 100 97 101 98 // initialises embedded KCM 102 kcm_init( &cluster->kcm , KMEM_KCM ); 103 104 // initialises cores99 kcm_init( &cluster->kcm , KMEM_KCM ); 100 101 // initialises all cores descriptors 105 102 for( lid = 0 ; lid < cluster->cores_nr; lid++ ) 106 103 {
Note: See TracChangeset
for help on using the changeset viewer.