source: soft/giet_vm/mappings/4c_4p_sort_leti.xml @ 311

Last change on this file since 311 was 311, checked in by alain, 10 years ago

Introducing new mappings for tsar_generic_iob and tsar_generic_leti platforms

File size: 22.9 KB
Line 
1<?xml version="1.0"?>
2
3<mapping_info signature    = "0xdace2014" 
4              name         = "4c_4p_sort_leti" 
5              x_size       = "2" 
6              y_size       = "3" 
7              x_width      = "4"
8              y_width      = "4"
9                          irq_per_proc = "4" 
10              use_ramdisk  = "1"
11                          x_io         = "0"
12              y_io         = "0" >
13
14*** This mapping is for the "tsar_generic_leti" hardware architecture
15*** with 4 clusters containing processors and 4 processors per cluster
16*** 40 bits physical address, and 64 Mbytes per cluster.
17*** There is 4 IRQ inputs per processor
18*** It does not use the external peripherals.
19*** It uses the RAMDISK in cluster(0,0)
20*** It uses the mono-channel TTY implemented in cluster(0,0).
21
22    <clusterset>
23        <cluster x = "0" y = "0" >
24            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x0000000000" length = "0x0040000000" />
25            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x00F0000000" length = "0x0000002000" />
26            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x00E0000000" length = "0x0000001000" />
27            <pseg name = "PSEG_IOC"  type = "PERI" base = "0x00F2000000" length = "0x0000001000" /> 
28            <pseg name = "PSEG_TTY"  type = "PERI" base = "0x00F4000000" length = "0x0000001000" /> 
29
30            <proc index  = "0" />
31            <proc index  = "1" />
32            <proc index  = "2" />
33            <proc index  = "3" />
34
35            <periph type = "MMC"  psegname = "PSEG_MMC"  >
36            </periph>
37            <periph type = "IOC"  psegname = "PSEG_IOC"  subtype = "BDV" > 
38            </periph>
39            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "1" > 
40            </periph>
41            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "16" >
42                <irq srcid = "0"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "0"  dstid = "0" />
43                <irq srcid = "1"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "0"  dstid = "1" />
44                <irq srcid = "2"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "0"  dstid = "2" />
45                <irq srcid = "3"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "0"  dstid = "3" />
46                <irq srcid = "4"  srctype = "WTI"  isr = "ISR_NIC_RX"  channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
47                <irq srcid = "5"  srctype = "WTI"  isr = "ISR_NIC_RX"  channel = "1"  dstx = "0"  dsty = "0"  dstid = "0" />
48                <irq srcid = "6"  srctype = "WTI"  isr = "ISR_NIC_TX"  channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
49                <irq srcid = "7"  srctype = "WTI"  isr = "ISR_NIC_TX"  channel = "1"  dstx = "0"  dsty = "0"  dstid = "0" />
50                <irq srcid = "8"  srctype = "WTI"  isr = "ISR_CMA"     channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
51                <irq srcid = "9"  srctype = "WTI"  isr = "ISR_CMA"     channel = "1"  dstx = "0"  dsty = "0"  dstid = "0" />
52                <irq srcid = "10" srctype = "WTI"  isr = "ISR_CMA"     channel = "2"  dstx = "0"  dsty = "0"  dstid = "0" />
53                <irq srcid = "11" srctype = "WTI"  isr = "ISR_CMA"     channel = "3"  dstx = "0"  dsty = "0"  dstid = "0" />
54                <irq srcid = "12" srctype = "WTI"  isr = "ISR_BDV"     channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
55                <irq srcid = "13" srctype = "WTI"  isr = "ISR_TTY_RX"  channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
56
57                <irq srcid = "0"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "0"  dstid = "0" />
58                <irq srcid = "1"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "0"  dstid = "1" />
59                <irq srcid = "2"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "0"  dstid = "2" />
60                <irq srcid = "3"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "0"  dstid = "3" />
61
62                <irq srcid = "8"  srctype = "HWI"  isr = "ISR_DEFAULT"                dstx = "0"  dsty = "0"  dstid = "0" />
63                <irq srcid = "9"  srctype = "HWI"  isr = "ISR_BDV"     channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
64                <irq srcid = "10" srctype = "HWI"  isr = "ISR_TTY_RX"  channel = "0"  dstx = "0"  dsty = "0"  dstid = "0" />
65            </periph>
66        </cluster>
67
68        <cluster x = "0" y = "1" >
69            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x0100000000" length = "0x0040000000" />
70            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x01F0000000" length = "0x0000002000" />
71            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x01E0000000" length = "0x0000001000" />
72
73            <proc index  = "0" />
74            <proc index  = "1" />
75            <proc index  = "2" />
76            <proc index  = "3" />
77
78            <periph type = "MMC"  psegname = "PSEG_MMC" >
79            </periph>
80            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "16" >
81                <irq srcid = "0"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "1"  dstid = "0" />
82                <irq srcid = "1"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "1"  dstid = "1" />
83                <irq srcid = "2"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "1"  dstid = "2" />
84                <irq srcid = "3"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "0"  dsty = "1"  dstid = "3" />
85
86                <irq srcid = "0"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "1"  dstid = "0" />
87                <irq srcid = "1"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "1"  dstid = "1" />
88                <irq srcid = "2"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "1"  dstid = "2" />
89                <irq srcid = "3"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "0"  dsty = "1"  dstid = "3" />
90
91                <irq srcid = "8"  srctype = "HWI"  isr = "ISR_DEFAULT"                dstx = "0"  dsty = "1"  dstid = "0" />
92            </periph>
93        </cluster>
94
95        <cluster x = "1" y = "0" >
96            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x1000000000" length = "0x0040000000" />
97            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x10F0000000" length = "0x0000002000" />
98            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x10E0000000" length = "0x0000001000" />
99
100            <proc index  = "0" />
101            <proc index  = "1" />
102            <proc index  = "2" />
103            <proc index  = "3" />
104
105            <periph type = "MMC"  psegname = "PSEG_MMC" >
106            </periph>
107            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "16" >
108                <irq srcid = "0"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "0"  dstid = "0" />
109                <irq srcid = "1"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "0"  dstid = "1" />
110                <irq srcid = "2"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "0"  dstid = "2" />
111                <irq srcid = "3"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "0"  dstid = "3" />
112
113                <irq srcid = "0"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "0"  dstid = "0" />
114                <irq srcid = "1"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "0"  dstid = "1" />
115                <irq srcid = "2"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "0"  dstid = "2" />
116                <irq srcid = "3"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "0"  dstid = "3" />
117
118                <irq srcid = "8"  srctype = "HWI"  isr = "ISR_DEFAULT"                dstx = "1"  dsty = "0"  dstid = "0" />
119            </periph>
120        </cluster>
121
122        <cluster x = "1" y = "1" >
123            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x1100000000" length = "0x0040000000" />
124            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x11F0000000" length = "0x0000002000" />
125            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x11E0000000" length = "0x0000001000" />
126
127            <proc index  = "0" />
128            <proc index  = "1" />
129            <proc index  = "2" />
130            <proc index  = "3" />
131
132            <periph type = "MMC"  psegname = "PSEG_MMC" >
133            </periph>
134            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "16" >
135                <irq srcid = "0"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "1"  dstid = "0" />
136                <irq srcid = "1"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "1"  dstid = "1" />
137                <irq srcid = "2"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "1"  dstid = "2" />
138                <irq srcid = "3"  srctype = "WTI"  isr = "ISR_WAKUP"                  dstx = "1"  dsty = "1"  dstid = "3" />
139
140                <irq srcid = "0"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "1"  dstid = "0" />
141                <irq srcid = "1"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "1"  dstid = "1" />
142                <irq srcid = "2"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "1"  dstid = "2" />
143                <irq srcid = "3"  srctype = "PTI"  isr = "ISR_TICK"                   dstx = "1"  dsty = "1"  dstid = "3" />
144
145                <irq srcid = "8"  srctype = "HWI"  isr = "ISR_DEFAULT"                dstx = "1"  dsty = "1"  dstid = "0" />
146            </periph>
147        </cluster>
148
149*** empty clusters
150
151        <cluster x = "0" y = "2" >
152        </cluster>
153        <cluster x = "1" y = "2" >
154        </cluster>
155
156    </clusterset>
157
158    <globalset> 
159
160*** Global vsegs associated to peripherals  replicated in all clusters (XCU, MMC, SCHED)
161*** must respect the following policy (checked by the XML parser) :
162*** vbase[x,y] = vbase[0,0] + 64K * cluster_xy
163*** pbase[x,y] = pbase[0,0] + 4G  * cluster_xy
164*** ( with cluster_xy = x*16 + y )
165*** the vseg type is entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000)
166*** The cluster index must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000)
167
168*** 5 global vsegs used by the boot code / A[31:28] = 0x0 / Identity mapping
169*** seg_boot_mapping is loaded by the boot-loader. It contains the mapping info.  Reused by the kernel.
170*** seg_boot_code and seg_boot data are loaded by the preloader, used by the boot-loader.  Not reused by the kernel.
171*** seg_boot_stack contains the stacks used by all processors during reset and boot.  Not reused by the Kernel.
172*** seg_boot_buffer is used by the boot-loader. It contains a complete .elf file.  Not reused by the kernel.
173
174        <vseg name = "seg_boot_code"      vbase = "0x00010000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
175            <vobj name = "boot_code"      type = "BUFFER" length = "0x00020000" />
176        </vseg>
177        <vseg name = "seg_boot_data"      vbase = "0x00030000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
178            <vobj name = "boot_data"      type = "BUFFER" length = "0x00010000" />
179        </vseg>
180        <vseg name = "seg_boot_buffer"    vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
181            <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00060000" />
182        </vseg>
183        <vseg name = "seg_boot_stack"     vbase = "0x000A0000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
184            <vobj name = "boot_stack"     type = "BUFFER" length = "0x00050000" />
185        </vseg>
186        <vseg name = "seg_boot_mapping"   vbase = "0x000F0000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
187            <vobj name = "boot_mapping"   type = "BLOB"   length = "0x00010000" binpath = "map.bin" />
188        </vseg>
189       
190*** 4 global vsegs used by the kernel / A[31:28] = 0x8  / No identity mapping constraint
191 
192        <vseg name = "seg_kernel_code"    vbase = "0x80000000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 
193            <vobj name = "kernel_code"    type = "ELF" length = "0x00020000" binpath = "build/kernel/kernel.elf" />
194        </vseg>
195        <vseg name = "seg_kernel_data"    vbase = "0x80020000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" > 
196            <vobj name = "kernel_data"    type = "ELF" length = "0x00060000" binpath = "build/kernel/kernel.elf" />
197                </vseg>
198        <vseg name = "seg_kernel_uncdata" vbase = "0x80080000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_RAM" > 
199            <vobj name = "kernel_uncdata" type = "ELF" length = "0x00040000" binpath = "build/kernel/kernel.elf" />
200        </vseg>
201        <vseg name = "seg_kernel_init"    vbase = "0x800C0000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 
202            <vobj name = "kernel_init"    type = "ELF" length = "0x00010000" binpath = "build/kernel/kernel.elf" />
203        </vseg>
204
205*** 2 global vsegs for non replicated peripherals in cluster(0,0) / A[31:28] = 0xF /
206
207        <vseg name = "seg_ioc"            vbase = "0xF2000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_IOC" >
208            <vobj name = "ioc"            type = "PERI" length  = "0x00001000" /> 
209        </vseg>
210
211        <vseg name = "seg_tty"            vbase = "0xF4000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_TTY" >
212                        <vobj name = "tty"            type = "PERI" length  = "0x00001000" />
213        </vseg>
214
215*** 2 global vsegs for pseudo-peripherals (PRELOADER and RAMDISK) / A[31:28] = 0x0
216
217        <vseg name = "seg_reset_code"     vbase = "0x00000000" mode = "CX__" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
218            <vobj name = "preloader"      type = "BUFFER" length  = "0x00010000" /> 
219        </vseg>
220
221        <vseg name = "seg_ram_disk"       vbase = "0x02000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
222            <vobj name = "ramdisk"        type = "BUFFER" length  = "0x02000000" />
223        </vseg>
224
225*** 4 global vsegs for replicated ICUS / A[31:24] = 0xF0 / Increment = 0x10000 / Identity mapping in cluster (0,0)           
226
227        <vseg name = "seg_icu_0"          vbase = "0xF0000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_XCU" ident = "1" > 
228            <vobj name = "icu_0"          type = "PERI" length  = "0x00001000" /> 
229        </vseg>
230        <vseg name = "seg_icu_1"          vbase = "0xF0010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_XCU" > 
231            <vobj name = "icu_1"          type = "PERI" length  = "0x00001000" /> 
232        </vseg>
233        <vseg name = "seg_icu_2"          vbase = "0xF0100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_XCU" > 
234            <vobj name = "icu_2"          type = "PERI" length  = "0x00001000" /> 
235        </vseg>
236        <vseg name = "seg_icu_3"          vbase = "0xF0110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_XCU" > 
237            <vobj name = "icu_3"          type = "PERI" length  = "0x00001000" /> 
238        </vseg>
239
240*** 4 global vsegs for replicated MMC / A[31:24] = 0xE0 / Increment = 0x10000 / Identity mapping in cluster 0
241
242        <vseg name = "seg_memc_0"         vbase = "0xE0000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_MMC" ident = "1" >
243            <vobj name = "memc_0"         type = "PERI" length  = "0x00001000" />
244        </vseg>
245        <vseg name = "seg_memc_1"         vbase = "0xE0010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_MMC" >
246            <vobj name = "memc_1"         type = "PERI" length  = "0x00001000" />
247        </vseg>
248        <vseg name = "seg_memc_2"         vbase = "0xE0100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_MMC" >
249            <vobj name = "memc_2"         type = "PERI" length  = "0x00001000" />
250        </vseg>
251        <vseg name = "seg_memc_3"         vbase = "0xE0110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_MMC" >
252            <vobj name = "memc_3"         type = "PERI" length  = "0x00001000" />
253        </vseg>
254
255*** 4 global vsegs for replicated schedulers / A[31:28] = 0xC / Increment = 0x10000
256
257        <vseg name = "seg_sched_0"        vbase = "0xC0000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" >
258            <vobj name = "sched_0"        type = "SCHED" length  = "0x00008000" />
259        </vseg>
260        <vseg name = "seg_sched_1"        vbase = "0xC0010000" mode = "C_W_" x = "0" y = "1" psegname = "PSEG_RAM" >
261            <vobj name = "sched_1"        type = "SCHED" length  = "0x00008000" />
262        </vseg>
263        <vseg name = "seg_sched_2"        vbase = "0xC0100000" mode = "C_W_" x = "1" y = "0" psegname = "PSEG_RAM" >
264            <vobj name = "sched_2"        type = "SCHED" length  = "0x00008000" />
265        </vseg>
266        <vseg name = "seg_sched_3"        vbase = "0xC0110000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" >
267            <vobj name = "sched_3"        type = "SCHED" length  = "0x00008000" />
268        </vseg>
269
270    </globalset> 
271
272    <vspaceset>
273
274*** For each vspace, the startname field is the name of the vobj containing the start_vector (entry point array)
275*** For each task, the startid field define the task entry point as an index in the start_vector
276*** For each task, the clusterid and proclocid arguments define the task static placement
277*** For each task, the stackname field is the name of the vobj containing the task stack
278*** For each task, the heapname field is the name of the vobj containing the task heap
279
280        <vspace name = "sort" startname = "sort_data" > 
281            <vseg name = "seg_sort_code"     vbase = "0x00400000" mode = "CXWU" x = "1" y = "1" psegname = "PSEG_RAM" > 
282                <vobj name = "sort_code"     type  = "ELF" length = "0x00010000" binpath = "build/sort/sort.elf" /> 
283            </vseg>
284            <vseg name = "seg_sort_data"     vbase = "0x00500000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" >
285                <vobj name = "sort_data"     type  = "ELF" length = "0x00010000" binpath = "build/sort/sort.elf" />
286            </vseg>
287            <vseg name = "seg_sort_ptab"     vbase = "0x00600000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" > 
288                <vobj name = "sort_ptab"     type  = "PTAB" length  = "0x00020000" align = "13" />
289            </vseg>
290            <vseg name = "seg_sort_stack_0"  vbase = "0x00200000" mode = "C_WU" x = "0" y = "0" psegname = "PSEG_RAM" >
291                <vobj name = "sort_stack_00" type  = "BUFFER" length = "0x00010000" /> 
292                <vobj name = "sort_stack_01" type  = "BUFFER" length = "0x00010000" /> 
293                <vobj name = "sort_stack_02" type  = "BUFFER" length = "0x00010000" /> 
294                <vobj name = "sort_stack_03" type  = "BUFFER" length = "0x00010000" /> 
295                <vobj name = "sort_heap_0"   type  = "BUFFER" length = "0x00040000" /> 
296            </vseg>
297            <vseg name = "seg_sort_stack_1"  vbase = "0x00280000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" >
298                <vobj name = "sort_stack_10" type  = "BUFFER" length = "0x00010000" /> 
299                <vobj name = "sort_stack_11" type  = "BUFFER" length = "0x00010000" /> 
300                <vobj name = "sort_stack_12" type  = "BUFFER" length = "0x00010000" /> 
301                <vobj name = "sort_stack_13" type  = "BUFFER" length = "0x00010000" /> 
302                <vobj name = "sort_heap_1"   type  = "BUFFER" length = "0x00040000" /> 
303            </vseg>
304            <vseg name = "seg_sort_stack_2"  vbase = "0x00300000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" >
305                <vobj name = "sort_stack_20" type  = "BUFFER" length = "0x00010000" /> 
306                <vobj name = "sort_stack_21" type  = "BUFFER" length = "0x00010000" /> 
307                <vobj name = "sort_stack_22" type  = "BUFFER" length = "0x00010000" /> 
308                <vobj name = "sort_stack_23" type  = "BUFFER" length = "0x00010000" /> 
309                <vobj name = "sort_heap_2"   type  = "BUFFER" length = "0x00040000" /> 
310            </vseg>
311            <vseg name = "seg_sort_stack_3"  vbase = "0x00380000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" >
312                <vobj name = "sort_stack_30" type  = "BUFFER" length = "0x00010000" /> 
313                <vobj name = "sort_stack_31" type  = "BUFFER" length = "0x00010000" /> 
314                <vobj name = "sort_stack_32" type  = "BUFFER" length = "0x00010000" /> 
315                <vobj name = "sort_stack_33" type  = "BUFFER" length = "0x00010000" /> 
316                <vobj name = "sort_heap_3"   type  = "BUFFER" length = "0x00040000" /> 
317            </vseg>
318
319*** This vobj emulates a command line argument for the sort application
320
321                        <vseg name = "seg_params"       vbase = "0x00100000" mode = "C_WU" x = "0" y = "0" psegname = "PSEG_RAM" >
322                                <vobj name = "nb_thread"    type  = "CONST"  length = "0x4" init = "16" />
323                        </vseg>
324
325            <task name = "sort_00" x = "0" y = "0" proclocid = "0" stackname = "sort_stack_00"  heapname = "sort_heap_0" startid = "0"  />
326            <task name = "sort_01" x = "0" y = "0" proclocid = "1" stackname = "sort_stack_01"  heapname = "sort_heap_0" startid = "0"  />
327            <task name = "sort_02" x = "0" y = "0" proclocid = "2" stackname = "sort_stack_02"  heapname = "sort_heap_0" startid = "0"  />
328            <task name = "sort_03" x = "0" y = "0" proclocid = "3" stackname = "sort_stack_03"  heapname = "sort_heap_0" startid = "0"  />
329
330            <task name = "sort_10" x = "0" y = "1" proclocid = "0" stackname = "sort_stack_10"  heapname = "sort_heap_1" startid = "0"  />
331            <task name = "sort_11" x = "0" y = "1" proclocid = "1" stackname = "sort_stack_11"  heapname = "sort_heap_1" startid = "0"  />
332            <task name = "sort_12" x = "0" y = "1" proclocid = "2" stackname = "sort_stack_12"  heapname = "sort_heap_1" startid = "0"  />
333            <task name = "sort_13" x = "0" y = "1" proclocid = "3" stackname = "sort_stack_13"  heapname = "sort_heap_1" startid = "0"  />
334
335            <task name = "sort_20" x = "1" y = "0" proclocid = "0" stackname = "sort_stack_20"  heapname = "sort_heap_2" startid = "0"  />
336            <task name = "sort_21" x = "1" y = "0" proclocid = "1" stackname = "sort_stack_21"  heapname = "sort_heap_2" startid = "0"  />
337            <task name = "sort_22" x = "1" y = "0" proclocid = "2" stackname = "sort_stack_22"  heapname = "sort_heap_2" startid = "0"  />
338            <task name = "sort_23" x = "1" y = "0" proclocid = "3" stackname = "sort_stack_23"  heapname = "sort_heap_2" startid = "0"  />
339
340            <task name = "sort_30" x = "1" y = "1" proclocid = "0" stackname = "sort_stack_30"  heapname = "sort_heap_3" startid = "0"  />
341            <task name = "sort_31" x = "1" y = "1" proclocid = "1" stackname = "sort_stack_31"  heapname = "sort_heap_3" startid = "0"  />
342            <task name = "sort_32" x = "1" y = "1" proclocid = "2" stackname = "sort_stack_32"  heapname = "sort_heap_3" startid = "0"  />
343            <task name = "sort_33" x = "1" y = "1" proclocid = "3" stackname = "sort_stack_33"  heapname = "sort_heap_3" startid = "0"  />
344        </vspace>
345    </vspaceset>
346</mapping_info>
Note: See TracBrowser for help on using the repository browser.