Ignore:
Timestamp:
Sep 17, 2012, 10:47:46 AM (12 years ago)
Author:
karaoui
Message:

New components are now mandotory in the XML description:

The files giet_vsegs.ld and hard_config.h are now autogenerated by the xml2bin tool.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/xml/xml_driver.c

    r204 r215  
    5757    const char* periph_type[] =
    5858    {
     59        "ICU",
     60        "TIM",
     61        "XICU",
     62        "DMA",
    5963        "IOC",
    6064        "TTY",
    61         "TIM",
    62         "DMA",
    6365        "FBF",
    6466        "NIC",
     
    220222    fprintf( fpout, "<mapping_info signature = \"0x%x\" ", header->signature);
    221223    fprintf( fpout, " name = \"%s\" ", header->name);
    222     fprintf( fpout, " clusters = \"%d\" ", header->clusters);
     224    fprintf( fpout, " cluster_x = \"%d\" ", header->cluster_x);
     225    fprintf( fpout, " cluster_y = \"%d\" ", header->cluster_y);
    223226    fprintf( fpout, " vspaces = \"%d\" >\n\n", header->vspaces);
    224227
     
    241244    ///////////////////// processors /////////////////////////////////////////////
    242245
     246        unsigned int proc_index = 0;
    243247        for ( proc_id = cluster[cluster_id].proc_offset ;
    244248              proc_id < cluster[cluster_id].proc_offset + cluster[cluster_id].procs ;
    245249              proc_id++ )
    246250        {
    247             fprintf( fpout, "            <proc index = \"%d\" >\n", proc_id);
     251            fprintf( fpout, "            <proc index = \"%d\" >\n", proc_index);
    248252            for ( irq_id = proc[proc_id].irq_offset ;
    249253                  irq_id < proc[proc_id].irq_offset + proc[proc_id].irqs ;
Note: See TracChangeset for help on using the changeset viewer.