Changeset 232 for soft/giet_vm/xml/xml_driver.c
- Timestamp:
- Mar 5, 2013, 4:00:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/xml/xml_driver.c
r228 r232 271 271 port_id < coproc[coproc_id].port_offset + coproc[coproc_id].ports; 272 272 port_id++) { 273 unsigned int vobj_id = cp_port[port_id]. vobjlocid + vspace[cp_port[port_id].vspaceid].vobj_offset;273 unsigned int vobj_id = cp_port[port_id].mwmr_vobjid + vspace[cp_port[port_id].vspaceid].vobj_offset; 274 274 fprintf(fpout, " <port direction = \"%s\" ", port_direction[cp_port[port_id].direction]); 275 275 fprintf(fpout, " vspacename = \"%s\" ", vspace[cp_port[port_id].vspaceid].name); … … 353 353 task_id < (vspace[vspace_id].task_offset + vspace[vspace_id].tasks); 354 354 task_id++) { 355 unsigned int vobj_id = task[task_id].vobjlocid + vspace[vspace_id].vobj_offset; 355 unsigned int stack_vobj_id = task[task_id].stack_vobjid + vspace[vspace_id].vobj_offset; 356 unsigned int heap_vobj_id = task[task_id].heap_vobjid + vspace[vspace_id].vobj_offset; 356 357 357 358 fprintf(fpout, " <task name = \"%s\" ", task[task_id].name); 358 359 fprintf(fpout, "clusterid = \"%d\" ", task[task_id].clusterid); 359 360 fprintf(fpout, "proclocid = \"%d\" ", task[task_id].proclocid); 360 fprintf(fpout, "stackname = \"%s\" ", vobj[vobj_id].name); 361 fprintf(fpout, "stackname = \"%s\" ", vobj[stack_vobj_id].name); 362 if (heap_vobj_id != -1) { 363 fprintf(fpout, "heapname = \"%s\" ", vobj[heap_vobj_id].name); 364 } 361 365 fprintf(fpout, "startid = \"%d\" ", task[task_id].startid); 362 366 fprintf(fpout, "usetty = \"%d\" ", task[task_id].use_tty);
Note: See TracChangeset
for help on using the changeset viewer.