Changeset 763 for soft


Ignore:
Timestamp:
Jan 19, 2016, 11:39:16 AM (9 years ago)
Author:
alain
Message:

Introducing support for the MMAP vseg type in xml parser/driver.

Location:
soft/giet_vm/giet_xml
Files:
3 edited

Legend:

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

    r738 r763  
    6868    VSEG_TYPE_SCHED    = 5,  // scheduler
    6969    VSEG_TYPE_HEAP     = 6,  // heap
     70    VSEG_TYPE_MMAP     = 7,  // mmap (dynamically mapped)
    7071};
    7172
     
    156157    unsigned int    irqs;            // total number of irqs
    157158    unsigned int    periphs;         // total number of peripherals
     159    unsigned int    max_pt2;         // max number of PT2s (computed in boot.c)
     160    unsigned int    padding[14];     // reserved
    158161    char name[256];                  // mapping name
    159162} mapping_header_t;
  • soft/giet_vm/giet_xml/xml_driver.c

    r738 r763  
    3030        "SCHED",      // Scheduler
    3131        "HEAP",       // Heap     
     32        "MMAP",       // Mmap (dynamic mapping)
     33       
    3234    };
    3335
  • soft/giet_vm/giet_xml/xml_parser.c

    r709 r763  
    596596    else if (ok && (strcmp(str, "SCHED")  == 0)) vseg[vseg_index]->type = VSEG_TYPE_SCHED;
    597597    else if (ok && (strcmp(str, "HEAP")   == 0)) vseg[vseg_index]->type = VSEG_TYPE_HEAP;
     598    else if (ok && (strcmp(str, "MMAP")   == 0)) vseg[vseg_index]->type = VSEG_TYPE_MMAP;
    598599    else
    599600    {
Note: See TracChangeset for help on using the changeset viewer.