Changeset 220
- Timestamp:
- Oct 5, 2012, 3:02:38 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/sys/kernel_init.c
r218 r220 217 217 _set_context_slot( IDLE_TASK_INDEX, CTX_RUN_ID, 1 ); 218 218 _set_context_slot( IDLE_TASK_INDEX, CTX_SR_ID, 0xFF03 ); 219 _set_context_slot( IDLE_TASK_INDEX, CTX_SP_ID, (unsigned int)_idle_stack + ( global_pid<<8) );219 _set_context_slot( IDLE_TASK_INDEX, CTX_SP_ID, (unsigned int)_idle_stack + ((global_pid+1)<<8) ); 220 220 _set_context_slot( IDLE_TASK_INDEX, CTX_RA_ID, (unsigned int)&_ctx_eret ); 221 221 _set_context_slot( IDLE_TASK_INDEX, CTX_EPC_ID, (unsigned int)&_ctx_idle );
Note: See TracChangeset
for help on using the changeset viewer.