Changeset 627 for soft/giet_vm/giet_xml/xml_driver.c
- Timestamp:
- Jul 18, 2015, 2:48:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/xml_driver.c
r567 r627 136 136 mapping_vseg_t * vseg; 137 137 mapping_task_t * task; 138 mapping_proc_t * proc;139 138 mapping_irq_t * irq; 140 139 mapping_periph_t * periph; … … 169 168 MAPPING_VSPACE_SIZE * header->vspaces + 170 169 MAPPING_VSEG_SIZE * header->vsegs); 171 172 // computes the base address for procs array173 proc = (mapping_proc_t *) ((char *) header +174 MAPPING_HEADER_SIZE +175 MAPPING_CLUSTER_SIZE * header->x_size * header->y_size +176 MAPPING_PSEG_SIZE * header->psegs +177 MAPPING_VSPACE_SIZE * header->vspaces +178 MAPPING_VSEG_SIZE * header->vsegs +179 MAPPING_TASK_SIZE * header->tasks);180 170 181 171 // computes the base address for irqs array … … 261 251 fprintf(fpout, " psegname=\"%s\"", pseg[periph[periph_id].psegid].name); 262 252 fprintf(fpout, " channels=\"%d\"", periph[periph_id].channels); 263 fprintf(fpout, " arg0=\"%d\" >\n", periph[periph_id].arg0);264 fprintf(fpout, " arg1=\"%d\" >\n", periph[periph_id].arg1);265 fprintf(fpout, " arg2=\"%d\" >\n", periph[periph_id].arg2);253 fprintf(fpout, " arg0=\"%d\"", periph[periph_id].arg0); 254 fprintf(fpout, " arg1=\"%d\"", periph[periph_id].arg1); 255 fprintf(fpout, " arg2=\"%d\"", periph[periph_id].arg2); 266 256 fprintf(fpout, " arg3=\"%d\" >\n", periph[periph_id].arg3); 267 257 if ( (periph[periph_id].type == PERIPH_TYPE_PIC) ||
Note: See TracChangeset
for help on using the changeset viewer.