Changeset 267 for soft/giet_vm/giet_xml
- Timestamp:
- Jan 13, 2014, 3:20:29 PM (11 years ago)
- Location:
- soft/giet_vm/giet_xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/mapping_info.h
r263 r267 252 252 unsigned int clusterid; // linear index in array of clusters 253 253 unsigned int proclocid; // processor local index (inside cluster) 254 unsigned int trdid; // thread index in vspace 254 255 unsigned int stack_vobjid; // stack vobj index in vspace 255 256 unsigned int heap_vobjid; // heap vobj index in vspace -
soft/giet_vm/giet_xml/xml_parser.c
r263 r267 463 463 464 464 ///////// get x coordinate 465 x = getIntValue(reader, "x", &ok); 465 task[task_index]->trdid = getIntValue(reader, "trdid", &ok); 466 #if XML_PARSER_DEBUG 467 printf(" x = %d\n", x); 468 #endif 469 if ( !ok ) 470 { 471 task[task_index]->trdid = task_loc_index; 472 printf("[XML WARNING] missing trdid (thread index) attribute " 473 "for task in vspace %d. Using value %d\n" 474 , vspace_index, task_loc_index); 475 } 476 477 ///////// get x coordinate 478 x = getIntValue(reader, "x", &ok); 466 479 #if XML_PARSER_DEBUG 467 480 printf(" x = %d\n", x); … … 475 488 476 489 ///////// get y coordinate 477 490 y = getIntValue(reader, "y", &ok); 478 491 #if XML_PARSER_DEBUG 479 492 printf(" y = %d\n", y);
Note: See TracChangeset
for help on using the changeset viewer.