Changeset 548


Ignore:
Timestamp:
Apr 5, 2015, 12:11:08 AM (9 years ago)
Author:
alain
Message:

Extending the mapping name to 64 characters.

Location:
soft/giet_vm/giet_xml
Files:
3 edited

Legend:

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

    r531 r548  
    6565    VSEG_TYPE_PTAB     = 2,  // page table
    6666    VSEG_TYPE_PERI     = 3,  // hardware component
    67     VSEG_TYPE_MWMR     = 4,  // MWMR channel
    68     VSEG_TYPE_LOCK     = 5,  // Lock
    69     VSEG_TYPE_BUFFER   = 6,  // Any "no initialization" objects (stacks...)
    70     VSEG_TYPE_BARRIER  = 7,  // Barrier
    71     VSEG_TYPE_CONST    = 8,  // Constant
    72     VSEG_TYPE_MEMSPACE = 9,  // Memspace (descriptor must be initialised)
    73     VSEG_TYPE_SCHED    = 10, // Array of schedulers (one per cluster)
    74     VSEG_TYPE_HEAP     = 11, // Heap   f schedulers (one per cluster)
     67    VSEG_TYPE_BUFFER   = 4,  // no initialization object (stacks...)
     68    VSEG_TYPE_SCHED    = 5,  // scheduler
     69    VSEG_TYPE_HEAP     = 6,  // heap
    7570};
    7671
     
    119114    IOC_SUBTYPE_BDV    = 0,
    120115    IOC_SUBTYPE_HBA    = 1,
    121     IOC_SUBTYPE_SPI    = 2,
    122     IOC_SUBTYPE_NONE   = 3,
     116    IOC_SUBTYPE_SDC    = 2,
    123117};
    124118
     
    160154    unsigned int irqs;               // total number of irqs
    161155    unsigned int periphs;            // total number of peripherals
    162     char name[32];                   // mapping name
     156    char name[64];                   // mapping name
    163157} mapping_header_t;
    164158
  • soft/giet_vm/giet_xml/xml_driver.c

    r531 r548  
    2323    const char * vseg_type[] =
    2424    {
    25         "ELF",        // binary code generated by GCC
    26         "BLOB",       // binary
    27         "PTAB",       // page table
    28         "PERI",       // hardware component
    29         "MWMR",       // MWMR channel
    30         "LOCK",       // Spin-Lock
    31         "BUFFER",     // Any "no intialiasation needed" object (stacks...)
    32         "BARRIER",    // Barrier
    33         "CONST",      // Constant
    34         "MEMSPACE",   // Memspace
     25        "ELF",        // From a .elf file
     26        "BLOB",       // Raw Binary
     27        "PTAB",       // Page Table
     28        "PERI",       // Hardware Component
     29        "BUFFER",     // No intialisation needed (stacks...)
    3530        "SCHED",      // Scheduler
    3631        "HEAP",       // Heap     
     
    6863        "ISR_MMC",
    6964        "ISR_DMA",
    70         "ISR_SPI",
     65        "ISR_SDC",
    7166        "ISR_MWR",
    7267        "ISR_HBA",
     
    10297        "BDV",
    10398        "HBA",
    104         "SPI",
    105         "NONE",
     99        "SDC",
    106100    };
    107101
  • soft/giet_vm/giet_xml/xml_parser.c

    r531 r548  
    878878        else if (strcmp(str, "ISR_MMC"    ) == 0)  irq[irq_index]->isr = ISR_MMC;
    879879        else if (strcmp(str, "ISR_DMA"    ) == 0)  irq[irq_index]->isr = ISR_DMA;
    880         else if (strcmp(str, "ISR_SPI"    ) == 0)  irq[irq_index]->isr = ISR_SPI;
     880        else if (strcmp(str, "ISR_SDC"    ) == 0)  irq[irq_index]->isr = ISR_SDC;
    881881        else if (strcmp(str, "ISR_MWR"    ) == 0)  irq[irq_index]->isr = ISR_MWR;
    882882        else if (strcmp(str, "ISR_HBA"    ) == 0)  irq[irq_index]->isr = ISR_HBA;
     
    10621062            else if (strcmp(subtype, "HBA") == 0)
    10631063            periph[periph_index]->subtype = IOC_SUBTYPE_HBA;
    1064             else if (strcmp(subtype, "SPI") == 0)
    1065             periph[periph_index]->subtype = IOC_SUBTYPE_SPI;
     1064            else if (strcmp(subtype, "SDC") == 0)
     1065            periph[periph_index]->subtype = IOC_SUBTYPE_SDC;
    10661066        }
    10671067        else
Note: See TracChangeset for help on using the changeset viewer.