Changeset 349 for soft/giet_vm/giet_xml
- Timestamp:
- Jun 29, 2014, 12:39:48 PM (10 years ago)
- Location:
- soft/giet_vm/giet_xml
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/mapping_info.h
r323 r349 210 210 char mapped; // mapped if non zero 211 211 char ident; // identity mapping if non zero 212 char rsvd0; // reserved213 char r svd1;// reserved212 char local; // only mapped in the local PTAB 213 char reserved; // reserved 214 214 } mapping_vseg_t; 215 215 -
soft/giet_vm/giet_xml/xml_driver.c
r323 r349 361 361 fprintf(fpout, " psegname=\"%s\"", pseg[pseg_id].name); 362 362 if( vseg[vseg_id].ident ) fprintf(fpout, " ident=\"1\""); 363 if( vseg[vseg_id].local ) fprintf(fpout, " local=\"1\""); 363 364 fprintf(fpout, " >\n"); 364 365 … … 409 410 fprintf(fpout, " psegname=\"%s\"", pseg[pseg_id].name); 410 411 if( vseg[vseg_id].ident ) fprintf(fpout, " ident=\"1\""); 412 if( vseg[vseg_id].local ) fprintf(fpout, " local=\"1\""); 411 413 fprintf(fpout, " >\n"); 412 414 -
soft/giet_vm/giet_xml/xml_parser.c
r323 r349 960 960 } 961 961 962 ////////// get local attribute (optional : 0 if missing) 963 value = getIntValue(reader, "local", &ok); 964 if (ok) 965 { 966 #if XML_PARSER_DEBUG 967 printf(" local = %d\n", value); 968 #endif 969 vseg[vseg_index]->local = value; 970 } 971 else 972 { 973 vseg[vseg_index]->local = 0; 974 } 975 962 976 /////////// get vbase attribute 963 977 value = getIntValue(reader, "vbase", &ok);
Note: See TracChangeset
for help on using the changeset viewer.