Changeset 656
- Timestamp:
- Jul 22, 2015, 5:33:47 PM (9 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_boot/boot.c
r646 r656 1276 1276 psched->context[ltid][CTX_SR_ID] = GIET_SR_INIT_VALUE; 1277 1277 psched->context[ltid][CTX_SP_ID] = ctx_sp; 1278 psched->context[ltid][CTX_EPC_ID] = ctx_entry; 1278 1279 psched->context[ltid][CTX_ENTRY_ID] = ctx_entry; 1279 1280 psched->context[ltid][CTX_PTPR_ID] = ctx_ptpr; -
soft/giet_vm/giet_kernel/kernel_init.c
r648 r656 317 317 //////////////////////////////////////////////////////////////////////////// 318 318 // step 3 : - Each processor complete idle task context initialisation. 319 // Only CTX_SP, CTX_RA, CTX_EPC slots, because other slots320 // have been initialised in boot code)319 // Only CTX_SP, CTX_RA, CTX_EPC, CTX_ENTRY slots, because other 320 // slots have been initialised in boot code) 321 321 // The 4 Kbytes idle stack is implemented in the scheduler itself. 322 322 // - Each processor starts TICK timer, if at least one task. … … 332 332 _set_task_slot( x , y , p , IDLE_TASK_INDEX , CTX_SP_ID , sp ); 333 333 _set_task_slot( x , y , p , IDLE_TASK_INDEX , CTX_RA_ID , ra ); 334 _set_task_slot( x , y , p , IDLE_TASK_INDEX , CTX_EPC_ID , entry ); 334 335 _set_task_slot( x , y , p , IDLE_TASK_INDEX , CTX_ENTRY_ID , entry ); 335 336
Note: See TracChangeset
for help on using the changeset viewer.