Changeset 566 for soft/giet_vm/giet_xml


Ignore:
Timestamp:
May 18, 2015, 6:55:39 PM (9 years ago)
Author:
alain
Message:

Introducing support for a new IOC controller: IOC_SUBTYPE_SDC.

File:
1 edited

Legend:

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

    r559 r566  
    112112enum iocTypes
    113113{
    114     IOC_SUBTYPE_BDV    = 0,
    115     IOC_SUBTYPE_HBA    = 1,
    116     IOC_SUBTYPE_SDC    = 2,
     114    IOC_SUBTYPE_BDV       = 0,
     115    IOC_SUBTYPE_HBA       = 1,
     116    IOC_SUBTYPE_SDC       = 2,
     117    IOC_SUBTYPE_SPI       = 3,
    117118};
    118119
     
    138139typedef struct __attribute__((packed))  mapping_header_s
    139140{
    140     unsigned int signature;          // must contain IN_MAPPING_SIGNATURE
    141     unsigned int x_size;             // actual number of clusters in a row
    142     unsigned int y_size;             // actual number of clusters in a column
    143     unsigned int x_width;            // number of bits to encode x coordinate
    144     unsigned int y_width;            // number of bits to encode y coordinate
    145     unsigned int x_io;               // x coordinate for cluster_io_ext
    146     unsigned int y_io;               // y coordinate for cluster_io_ext
    147     unsigned int irq_per_proc;       // number of IRQ per processor
    148     unsigned int use_ram_disk;       // does not use IOC peripheral if non zero
    149     unsigned int globals;            // total number of global vsegs
    150     unsigned int vspaces;            // total number of virtual spaces
    151     unsigned int psegs;              // total number of physical segments
    152     unsigned int vsegs;              // total number of virtual segments
    153     unsigned int tasks;              // total number of tasks
    154     unsigned int procs;              // total number of processors
    155     unsigned int irqs;               // total number of irqs
    156     unsigned int periphs;            // total number of peripherals
     141    unsigned int    signature;       // must contain IN_MAPPING_SIGNATURE
     142    unsigned int    x_size;          // actual number of clusters in a row
     143    unsigned int    y_size;          // actual number of clusters in a column
     144    unsigned int    x_width;         // number of bits to encode x coordinate
     145    unsigned int    y_width;         // number of bits to encode y coordinate
     146    unsigned int    x_io;            // x coordinate for cluster_io_ext
     147    unsigned int    y_io;            // y coordinate for cluster_io_ext
     148    unsigned int    irq_per_proc;    // number of IRQ per processor
     149    unsigned int    use_ram_disk;    // does not use IOC peripheral if non zero
     150    unsigned int    globals;         // total number of global vsegs
     151    unsigned int    vspaces;         // total number of virtual spaces
     152    unsigned int    psegs;           // total number of physical segments
     153    unsigned int    vsegs;           // total number of virtual segments
     154    unsigned int    tasks;           // total number of tasks
     155    unsigned int    procs;           // total number of processors
     156    unsigned int    irqs;            // total number of irqs
     157    unsigned int    periphs;         // total number of peripherals
    157158    char name[64];                   // mapping name
    158159} mapping_header_t;
Note: See TracChangeset for help on using the changeset viewer.