Changeset 286 for branch/giet_vm_ioc_drivers/giet_xml/xml_parser.c
- Timestamp:
- Jan 31, 2014, 5:05:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branch/giet_vm_ioc_drivers/giet_xml/xml_parser.c
r283 r286 1302 1302 } 1303 1303 ///////////////////////////////// 1304 else if (strcmp(str, "HBA") == 0)1305 {1306 periph[periph_index]->type = PERIPH_TYPE_HBA;1307 use_hba = 1;1308 if (header->hba_cluster == 0xFFFFFFFF)1309 {1310 header->hba_cluster = cluster_index;1311 hba_channels = periph[periph_index]->channels;1312 }1313 else if (header->hba_cluster_bis == 0xFFFFFFFF)1314 {1315 header->hba_cluster_bis = cluster_index;1316 assert( (hba_channels == periph[periph_index]->channels) &&1317 "[XML ERROR] unconsistent non replicated peripheral");1318 }1319 else1320 {1321 error = 1;1322 }1323 }1324 /////////////////////////////////1325 1304 else if (strcmp(str, "IOB") == 0) 1326 1305 { … … 2353 2332 header->fbf_cluster = 0xFFFFFFFF; 2354 2333 header->fbf_cluster_bis = 0xFFFFFFFF; 2355 2356 header->hba_cluster = 0xFFFFFFFF;2357 header->hba_cluster_bis = 0xFFFFFFFF;2358 2334 2359 2335 header->iob_cluster = 0xFFFFFFFF; … … 2750 2726 ld_write(fdout, "seg_cma_base ", periph_vbase_array[PERIPH_TYPE_CMA]); 2751 2727 ld_write(fdout, "seg_fbf_base ", periph_vbase_array[PERIPH_TYPE_FBF]); 2752 ld_write(fdout, "seg_hba_base ", periph_vbase_array[PERIPH_TYPE_HBA]);2753 2728 ld_write(fdout, "seg_iob_base ", periph_vbase_array[PERIPH_TYPE_IOB]); 2754 2729 ld_write(fdout, "seg_ioc_base ", periph_vbase_array[PERIPH_TYPE_IOC]);
Note: See TracChangeset
for help on using the changeset viewer.