Changeset 491 for soft/giet_vm/giet_xml
- Timestamp:
- Jan 20, 2015, 5:20:39 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
r470 r491 115 115 PERIPH_TYPE_XCU = 12, 116 116 PERIPH_TYPE_PIC = 13, 117 118 PERIPH_TYPE_MAX_VALUE = 14, 117 PERIPH_TYPE_DROM = 14, 118 119 PERIPH_TYPE_MAX_VALUE = 15, 119 120 }; 120 121 -
soft/giet_vm/giet_xml/xml_driver.c
r472 r491 88 88 "XCU", 89 89 "PIC", 90 "DROM", 90 91 }; 91 92 -
soft/giet_vm/giet_xml/xml_parser.c
r472 r491 1484 1484 periph[periph_index]->subtype = 0xFFFFFFFF; 1485 1485 1486 // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, peripherals are not1486 // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, PIC, DROM peripherals are not 1487 1487 // replicated in all clusters but can be instanciated twice. 1488 1488 … … 1626 1626 } 1627 1627 } 1628 else 1628 ///////////////////////////////// 1629 else if (strcmp(str, "DROM") == 0) 1630 { 1631 periph[periph_index]->type = PERIPH_TYPE_DROM; 1632 } 1633 else 1629 1634 { 1630 1635 printf("[XML ERROR] illegal peripheral type: %s in cluster %d\n", … … 1879 1884 if (ok && (strcmp(str, "RAM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_RAM; } 1880 1885 else if (ok && (strcmp(str, "ROM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_ROM; } 1886 else if (ok && (strcmp(str, "DROM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_ROM; } 1881 1887 else if (ok && (strcmp(str, "PERI") == 0)) { pseg[pseg_index]->type = PSEG_TYPE_PERI; } 1882 1888 else
Note: See TracChangeset
for help on using the changeset viewer.