Changeset 232 for soft/giet_vm/boot/boot_init.c
- Timestamp:
- Mar 5, 2013, 4:00:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/boot/boot_init.c
r230 r232 1387 1387 //FIXME: the vspace_id should be the same for all ports: put it in the coproc? 1388 1388 unsigned int vspace_id = cp_port[cp_port_id].vspaceid; 1389 unsigned int vobj_id = cp_port[cp_port_id]. vobjlocid + vspace[vspace_id].vobj_offset;1389 unsigned int vobj_id = cp_port[cp_port_id].mwmr_vobjid + vspace[vspace_id].vobj_offset; 1390 1390 1391 1391 mwmr_channel_t * pmwmr = (mwmr_channel_t *) (vobj[vobj_id].paddr); … … 1669 1669 1670 1670 // ctx_sp : Get the vobj containing the stack 1671 unsigned int vobj_id = task[task_id]. vobjlocid + vspace[vspace_id].vobj_offset;1671 unsigned int vobj_id = task[task_id].stack_vobjid + vspace[vspace_id].vobj_offset; 1672 1672 unsigned int ctx_sp = vobj[vobj_id].vaddr + vobj[vobj_id].length; 1673 1673 … … 1706 1706 boot_scheduler_set_context(gpid, ltid, CTX_LTID_ID, ltid); 1707 1707 boot_scheduler_set_context(gpid, ltid, CTX_VSID_ID, vspace_id); 1708 boot_scheduler_set_context(gpid, ltid, CTX_GTID_ID, task_id); 1708 1709 boot_scheduler_set_context(gpid, ltid, CTX_RUN_ID, 1); 1709 1710
Note: See TracChangeset
for help on using the changeset viewer.