Ignore:
Timestamp:
Jul 22, 2015, 1:03:20 PM (9 years ago)
Author:
alain
Message:

Introduce the "active" field in vspace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/xml_parser.c

    r627 r645  
    722722    }
    723723
     724    ////////// get active attribute (optional / default is 0)
     725    unsigned int value = getIntValue(reader, "active", &ok);
     726    if (ok) vspace[vspace_index]->active = value;
     727    else    vspace[vspace_index]->active = 0;
     728   
    724729    ////////// set vseg_offset and task_offset attributes
    725730    vspace[vspace_index]->vseg_offset = vseg_index;
     
    776781printf("      vseg_offset = %d\n", vspace[vspace_index]->vseg_offset );
    777782printf("      task_offset = %d\n", vspace[vspace_index]->task_offset );
    778 printf("      startname   = %s\n", start_name);
    779 printf("      start_id    = %d\n", index);
     783printf("      start_id    = %d\n", vspace[vspace_index]->start_vseg_id );
     784printf("      active      = %x\n", vspace[vspace_index]->active );
    780785printf("  end vspace %d\n\n", vspace_index);
    781786#endif
Note: See TracChangeset for help on using the changeset viewer.