Changeset 491 for soft/giet_vm/giet_xml


Ignore:
Timestamp:
Jan 20, 2015, 5:20:39 PM (10 years ago)
Author:
cfuguet
Message:

genmap: add distributed ROM support

  • Generate the DROM address space segment that is used for the TSAR reconfiguration distributed ROM.
Location:
soft/giet_vm/giet_xml
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/mapping_info.h

    r470 r491  
    115115    PERIPH_TYPE_XCU       = 12,
    116116    PERIPH_TYPE_PIC       = 13,
    117 
    118     PERIPH_TYPE_MAX_VALUE = 14,
     117    PERIPH_TYPE_DROM      = 14,
     118
     119    PERIPH_TYPE_MAX_VALUE = 15,
    119120};
    120121
  • soft/giet_vm/giet_xml/xml_driver.c

    r472 r491  
    8888        "XCU",
    8989        "PIC",
     90        "DROM",
    9091    };
    9192
  • soft/giet_vm/giet_xml/xml_parser.c

    r472 r491  
    14841484        periph[periph_index]->subtype = 0xFFFFFFFF;
    14851485
    1486         // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, peripherals are not
     1486        // The CMA, FBF, HBA, IOB, IOC, NIC, ROM, SIM, TTY, PIC, DROM peripherals are not
    14871487        // replicated in all clusters but can be instanciated twice.
    14881488
     
    16261626            }
    16271627        }
    1628         else
     1628        /////////////////////////////////
     1629        else if (strcmp(str, "DROM") == 0)
     1630        {
     1631            periph[periph_index]->type = PERIPH_TYPE_DROM;
     1632        }
     1633        else
    16291634        {
    16301635            printf("[XML ERROR] illegal peripheral type: %s in cluster %d\n",
     
    18791884    if      (ok && (strcmp(str, "RAM" ) == 0)) { pseg[pseg_index]->type = PSEG_TYPE_RAM; }
    18801885    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; }
    18811887    else if (ok && (strcmp(str, "PERI") == 0)) { pseg[pseg_index]->type = PSEG_TYPE_PERI; }
    18821888    else
Note: See TracChangeset for help on using the changeset viewer.