- Timestamp:
- May 18, 2015, 6:55:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_xml/mapping_info.h
r559 r566 112 112 enum iocTypes 113 113 { 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, 117 118 }; 118 119 … … 138 139 typedef struct __attribute__((packed)) mapping_header_s 139 140 { 140 unsigned int signature;// must contain IN_MAPPING_SIGNATURE141 unsigned int x_size;// actual number of clusters in a row142 unsigned int y_size;// actual number of clusters in a column143 unsigned int x_width;// number of bits to encode x coordinate144 unsigned int y_width;// number of bits to encode y coordinate145 unsigned int x_io;// x coordinate for cluster_io_ext146 unsigned int y_io;// y coordinate for cluster_io_ext147 unsigned int irq_per_proc;// number of IRQ per processor148 unsigned int use_ram_disk;// does not use IOC peripheral if non zero149 unsigned int globals;// total number of global vsegs150 unsigned int vspaces;// total number of virtual spaces151 unsigned int psegs;// total number of physical segments152 unsigned int vsegs;// total number of virtual segments153 unsigned int tasks;// total number of tasks154 unsigned int procs;// total number of processors155 unsigned int irqs;// total number of irqs156 unsigned int periphs;// total number of peripherals141 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 157 158 char name[64]; // mapping name 158 159 } mapping_header_t;
Note: See TracChangeset
for help on using the changeset viewer.