Changeset 246 for soft/giet_vm/sys/ctx_handler.c
- Timestamp:
- Jul 9, 2013, 3:54:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/ctx_handler.c
r238 r246 105 105 unsigned int* curr_ctx_vaddr = &(psched->context[curr_task_id][0]); 106 106 unsigned int* next_ctx_vaddr = &(psched->context[next_task_id][0]); 107 unsigned int procid = _procid(); 108 unsigned int local_id = procid % NB_PROCS_MAX; 109 unsigned int cluster_id = procid / NB_PROCS_MAX; 107 110 108 111 // set current task index 109 112 psched->current = next_task_id; 110 113 111 //_timer_reset_irq_cpt(cluster_id, local_id); 112 // commented until not properly supported in soclib 113 // (the function is not yet present in drivers.c) 114 _timer_reset_irq_cpt(cluster_id, local_id); 114 115 115 116 _task_switch(curr_ctx_vaddr, next_ctx_vaddr);
Note: See TracChangeset
for help on using the changeset viewer.