source: soft/giet_vm/mappings/4c_2p_four.xml @ 318

Last change on this file since 318 was 287, checked in by cfuguet, 11 years ago

Modification on giet_xml parser and driver:

  • Introducing a new field on the mapping_info header which is used to store the number of IRQ per processor. This number must be declared on the header of all XML description files (irq_per_proc).
  • The number of channels of the ICU/XICU must be equal to the number of processors per cluster multiplied by the number of IRQ per processor (this is verified by the xml_parser).
File size: 22.3 KB
Line 
1<?xml version="1.0"?>
2
3<mapping_info signature    = "0xdeadbeef" 
4              name         = "4c_2p_four" 
5              x_size       = "2" 
6              y_size       = "2" 
7              x_width      = "4"
8              y_width      = "4"
9              vspaces      = "4"
10                          increment    = "0x10000"
11                          irq_per_proc = "1" >
12
13*** The "increment" parameter is the virtual address cluster increment
14*** The physical address cluster increment is 0x10000000000 / NB_CLUSTERS
15
16*** This first section describes an instance of the "tsar_generic_xbar" architecture
17*** with 4 clusters, 1 processor per cluster and 40 bits physical address.
18
19    <clusterset>
20
21        <cluster x = "0" y = "0" >
22            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x0000000000" length = "0x0001000000" />
23            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x00B0000000" length = "0x0000002000" />
24            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x00B1000000" length = "0x0000008000" />
25            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x00B8000000" length = "0x0000001000" />
26
27*** Non replicated peripherals (including the ROM containing the preloader code)
28
29            <pseg name = "PSEG_FBF"  type = "PERI" base = "0x00B2000000" length = "0x0000004000" /> 
30            <pseg name = "PSEG_IOC"  type = "PERI" base = "0x00B3000000" length = "0x0000001000" /> 
31            <pseg name = "PSEG_TTY"  type = "PERI" base = "0x00B4000000" length = "0x0000001000" /> 
32            <pseg name = "PSEG_NIC"  type = "PERI" base = "0x00B5000000" length = "0x0000080000" />
33            <pseg name = "PSEG_CMA"  type = "PERI" base = "0x00B6000000" length = "0x0000008000" />
34            <pseg name = "PSEG_ROM"  type = "PERI" base = "0x00BFC00000" length = "0x0000004000" />
35
36            <proc index  = "0" >
37                <irq type = "SOFT" icuid = "0"  isr = "ISR_WAKUP" /> 
38                <irq type = "TIME" icuid = "2"  isr = "ISR_SWITCH" /> 
39
40                <irq type = "HARD" icuid = "16" isr = "ISR_TTY"     channel = "0" /> 
41                <irq type = "HARD" icuid = "17" isr = "ISR_TTY"     channel = "1" /> 
42                <irq type = "HARD" icuid = "18" isr = "ISR_TTY"     channel = "2" /> 
43                <irq type = "HARD" icuid = "19" isr = "ISR_TTY"     channel = "3" /> 
44                <irq type = "HARD" icuid = "20" isr = "ISR_TTY"     channel = "4" /> 
45                <irq type = "HARD" icuid = "21" isr = "ISR_TTY"     channel = "5" /> 
46                <irq type = "HARD" icuid = "22" isr = "ISR_TTY"     channel = "6" /> 
47                <irq type = "HARD" icuid = "23" isr = "ISR_TTY"     channel = "7" /> 
48
49                <irq type = "HARD" icuid = "31" isr = "ISR_IOC" /> 
50            </proc> 
51            <proc index = "1" >
52                <irq type = "SOFT" icuid = "1" isr = "ISR_WAKUP" />
53                <irq type = "TIME" icuid = "3" isr = "ISR_SWITCH" />
54            </proc>
55
56            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "1"  /> 
57            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "2"  />
58            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1"  />
59            <periph type = "IOC"  psegname = "PSEG_IOC"  channels = "1"  /> 
60            <periph type = "TTY"  psegname = "PSEG_TTY"  channels = "8"  /> 
61            <periph type = "NIC"  psegname = "PSEG_NIC"  channels = "2"  />
62            <periph type = "CMA"  psegname = "PSEG_CMA"  channels = "4"  />
63            <periph type = "FBF"  psegname = "PSEG_FBF"  channels = "1"  />
64            <periph type = "ROM"  psegname = "PSEG_ROM"  channels = "1"  />
65
66        </cluster>
67
68        <cluster x = "0" y = "1" >
69            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x0100000000" length = "0x0001000000" />
70            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x01B0000000" length = "0x0000002000" />
71            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x01B1000000" length = "0x0000008000" />
72            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x01B8000000" length = "0x0000001000" />
73
74            <proc index = "0" >
75                <irq type = "SOFT" icuid = "0" isr = "ISR_WAKUP" />
76                <irq type = "TIME" icuid = "2" isr = "ISR_SWITCH" />
77            </proc>
78            <proc index = "1" >
79                <irq type = "SOFT" icuid = "1" isr = "ISR_WAKUP" />
80                <irq type = "TIME" icuid = "3" isr = "ISR_SWITCH" />
81            </proc>
82
83            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "1" />
84            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "2" />
85            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
86        </cluster>
87
88        <cluster x = "1" y = "0" >
89            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x1000000000" length = "0x0001000000" />
90            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x10B0000000" length = "0x0000002000" />
91            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x10B1000000" length = "0x0000008000" />
92            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x10B8000000" length = "0x0000001000" />
93
94            <proc index = "0" >
95                <irq type = "SOFT" icuid = "0" isr = "ISR_WAKUP" />
96                <irq type = "TIME" icuid = "2" isr = "ISR_SWITCH" />
97            </proc>
98            <proc index = "1" >
99                <irq type = "SOFT" icuid = "1" isr = "ISR_WAKUP" />
100                <irq type = "TIME" icuid = "3" isr = "ISR_SWITCH" />
101            </proc>
102
103            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "1" />
104            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "2" />
105            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
106        </cluster>
107
108        <cluster x = "1" y = "1" >
109            <pseg name = "PSEG_RAM"  type = "RAM"  base = "0x1100000000" length = "0x0001000000" />
110            <pseg name = "PSEG_XCU"  type = "PERI" base = "0x11B0000000" length = "0x0000002000" />
111            <pseg name = "PSEG_DMA"  type = "PERI" base = "0x11B1000000" length = "0x0000008000" />
112            <pseg name = "PSEG_MMC"  type = "PERI" base = "0x11B8000000" length = "0x0000001000" />
113
114            <proc index = "0" >
115                <irq type = "SOFT" icuid = "0" isr = "ISR_WAKUP" />
116                <irq type = "TIME" icuid = "2" isr = "ISR_SWITCH" />
117            </proc>
118            <proc index = "1" >
119                <irq type = "SOFT" icuid = "1" isr = "ISR_WAKUP" />
120                <irq type = "TIME" icuid = "3" isr = "ISR_SWITCH" />
121            </proc>
122
123            <periph type = "DMA"  psegname = "PSEG_DMA"  channels = "1" />
124            <periph type = "XCU"  psegname = "PSEG_XCU"  channels = "2" />
125            <periph type = "MMC"  psegname = "PSEG_MMC"  channels = "1" />
126        </cluster>
127    </clusterset>
128
129    <globalset> 
130
131*** Segments used by the boot code / A[31:28] = 0x0 / Identity mapping
132- seg_boot_mapping is loaded by the boot-loader. It contains the mapping info. The content is reused by the kernel.
133- seg_boot_code and seg_boot data are loaded by the preloader, used by the boot-loader The content is not reused by the kernel.
134- seg_boot_stack is contains the stacks used by all processors during reset and boot. The content is not reused by the Kernel.
135- seg_boot_buffer is used by the boot-loader. It can contain a complete .elf file. The content is not reused by the kernel.
136
137        <vseg name = "seg_boot_mapping"   vbase = "0x00000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
138            <vobj name = "boot_mapping"   type = "BLOB"   length = "0x00010000" binpath = "map.bin" />
139        </vseg>
140        <vseg name = "seg_boot_code"      vbase = "0x00010000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
141            <vobj name = "boot_code"      type = "BUFFER" length = "0x00020000" />
142        </vseg>
143        <vseg name = "seg_boot_data"      vbase = "0x00030000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
144            <vobj name = "boot_data"      type = "BUFFER" length = "0x00010000" />
145        </vseg>
146        <vseg name = "seg_boot_buffer"    vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
147            <vobj name = "boot_buffer"    type = "BUFFER" length = "0x00020000" />
148        </vseg>
149        <vseg name = "seg_boot_stack"     vbase = "0x00060000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" >
150            <vobj name = "boot_stack"     type = "BUFFER" length = "0x00090000" />
151        </vseg>
152
153*** Segments used by the kernel / A[31:28] = 0x8
154 
155        <vseg name = "seg_kernel_code"    vbase = "0x80000000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 
156            <vobj name = "kernel_code"    type = "ELF" length = "0x00020000" binpath = "build/kernel/kernel.elf" />
157        </vseg>
158        <vseg name = "seg_kernel_data"    vbase = "0x80020000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" > 
159            <vobj name = "kernel_data"    type = "ELF" length = "0x00060000" binpath = "build/kernel/kernel.elf" />
160                </vseg>
161        <vseg name = "seg_kernel_uncdata" vbase = "0x80080000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_RAM" > 
162            <vobj name = "kernel_uncdata" type = "ELF" length = "0x00040000" binpath = "build/kernel/kernel.elf" />
163        </vseg>
164        <vseg name = "seg_kernel_init"    vbase = "0x800C0000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" > 
165            <vobj name = "kernel_init"    type = "ELF" length = "0x00010000" binpath = "build/kernel/kernel.elf" />
166        </vseg>
167
168*** Segments for non replicated peripherals / A[31:28] = 0xB / Identity mapping
169
170        <vseg name = "seg_fbf"            vbase = "0xB2000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_FBF" ident = "1" >
171            <vobj name = "fbf"            type = "PERI" length  = "0x00004000" /> 
172        </vseg>
173        <vseg name = "seg_ioc"            vbase = "0xB3000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_IOC" ident = "1" >
174            <vobj name = "ioc"            type = "PERI" length  = "0x00001000" /> 
175        </vseg>
176        <vseg name = "seg_tty"            vbase = "0xB4000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_TTY" ident = "1" >
177                        <vobj name = "tty"            type = "PERI" length  = "0x00001000" />
178        </vseg>
179        <vseg name = "seg_nic"            vbase = "0xB5000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_NIC" ident = "1" >
180            <vobj name = "nic"            type = "PERI" length  = "0x00080000" /> 
181        </vseg>
182        <vseg name = "seg_cma"            vbase = "0xB6000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_CMA" ident = "1" >
183            <vobj name = "cma"            type = "PERI" length  = "0x00008000" /> 
184        </vseg>
185        <vseg name = "seg_rom"            vbase = "0xBFC00000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_ROM" ident = "1" >
186            <vobj name = "rom"            type = "PERI" length  = "0x00004000" /> 
187        </vseg>
188
189*** Segments for replicated ICUS / A[31:24] = 0xB0 / Increment = 0x10000 / Identity mapping in cluster 0           
190
191        <vseg name = "seg_icu_0"          vbase = "0xB0000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_XCU" ident = "1" > 
192            <vobj name = "icu_0"          type = "PERI" length  = "0x00001000" /> 
193        </vseg>
194        <vseg name = "seg_icu_1"          vbase = "0xB0010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_XCU" > 
195            <vobj name = "icu_1"          type = "PERI" length  = "0x00001000" /> 
196        </vseg>
197        <vseg name = "seg_icu_2"          vbase = "0xB0100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_XCU" > 
198            <vobj name = "icu_2"          type = "PERI" length  = "0x00001000" /> 
199        </vseg>
200        <vseg name = "seg_icu_3"          vbase = "0xB0110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_XCU" > 
201            <vobj name = "icu_3"          type = "PERI" length  = "0x00001000" /> 
202        </vseg>
203
204*** segments for replicated DMAs / A[31:24] = 0xB1 / Increment = 0x10000 / Tdentity mapping in cluster 0
205*** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000)
206*** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000)
207
208        <vseg name = "seg_dma_0"          vbase = "0xB1000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_DMA" ident = "1" >
209            <vobj name = "dma_0"          type = "PERI" length  = "0x00008000" />
210        </vseg>
211        <vseg name = "seg_dma_1"          vbase = "0xB1010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_DMA" >
212            <vobj name = "dma_1"          type = "PERI" length  = "0x00008000" />
213        </vseg>
214        <vseg name = "seg_dma_2"          vbase = "0xB1100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_DMA" >
215            <vobj name = "dma_2"          type = "PERI" length  = "0x00008000" />
216        </vseg>
217        <vseg name = "seg_dma_3"          vbase = "0xB1110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_DMA" >
218            <vobj name = "dma_3"          type = "PERI" length  = "0x00008000" />
219        </vseg>
220
221*** segments for replicated MMC / A[31:24] = 0xB8 / Increment = 0x10000 / Identity mapping in cluster 0
222*** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000)
223*** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000)
224
225        <vseg name = "seg_memc_0"         vbase = "0xB8000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_MMC" ident = "1" >
226            <vobj name = "memc_0"         type = "PERI" length  = "0x00001000" />
227        </vseg>
228        <vseg name = "seg_memc_1"         vbase = "0xB8010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_MMC" >
229            <vobj name = "memc_1"         type = "PERI" length  = "0x00001000" />
230        </vseg>
231        <vseg name = "seg_memc_2"         vbase = "0xB8100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_MMC" >
232            <vobj name = "memc_2"         type = "PERI" length  = "0x00001000" />
233        </vseg>
234        <vseg name = "seg_memc_3"         vbase = "0xB8110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_MMC" >
235            <vobj name = "memc_3"         type = "PERI" length  = "0x00001000" />
236        </vseg>
237
238*** segments for replicated schedulers / A[31:28] = 0xF / Increment = 0x10000
239*** The type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000)
240*** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000)
241
242        <vseg name = "seg_sched_0"        vbase = "0xF0000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" >
243            <vobj name = "sched_0"        type = "SCHED" length  = "0x00008000" />
244        </vseg>
245        <vseg name = "seg_sched_1"        vbase = "0xF0010000" mode = "C_W_" x = "0" y = "1" psegname = "PSEG_RAM" >
246            <vobj name = "sched_1"        type = "SCHED" length  = "0x00008000" />
247        </vseg>
248        <vseg name = "seg_sched_2"        vbase = "0xF0100000" mode = "C_W_" x = "1" y = "0" psegname = "PSEG_RAM" >
249            <vobj name = "sched_2"        type = "SCHED" length  = "0x00008000" />
250        </vseg>
251        <vseg name = "seg_sched_3"        vbase = "0xF0110000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" >
252            <vobj name = "sched_3"        type = "SCHED" length  = "0x00008000" />
253        </vseg>
254***
255    </globalset> 
256
257    <vspaceset>
258
259*** For each vspace, the startname field is the name of the vobj containing the start_vector (entry point array)
260*** For each task, the startid field define the task entry point as an index in the start_vector
261*** For each task, the x,y and proclocid arguments define the task static placement
262*** For each task, the stackname field is the name of the vobj containing the task stack
263*** For each task, the heapname field is the name of the vobj containing the task heap
264
265        <vspace name = "router" startname = "data" > 
266            <vseg name = "seg_code"        vbase = "0x00400000" mode = "CX_U" x = "0" y = "0" psegname = "PSEG_RAM" > 
267                <vobj name = "code"        type = "ELF" length = "0x00010000" binpath = "build/router/router.elf" /> 
268            </vseg>
269            <vseg name = "seg_data"        vbase = "0x00500000" mode = "__WU" x = "0" y = "0" psegname = "PSEG_RAM" >
270                <vobj name = "data"        type = "ELF" length = "0x00010000" binpath = "build/router/router.elf" />
271            </vseg>
272            <vseg name = "seg_ptab"        vbase = "0x00600000" mode = "C___" x = "0" y = "0" psegname = "PSEG_RAM" > 
273                <vobj name = "ptab"        type = "PTAB" length  = "0x00012000" align   = "13" />
274            </vseg>
275            <vseg name = "seg_stack_prod"  vbase = "0x00700000" mode = "C_WU" x = "0" y = "0" psegname = "PSEG_RAM" >
276                <vobj name = "stack_prod"  type = "BUFFER" length = "0x00010000" /> 
277                <vobj name = "heap_prod"   type = "BUFFER" length = "0x00010000" /> 
278            </vseg>
279            <vseg name = "seg_stack_cons"  vbase = "0x00800000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" > 
280                <vobj name = "stack_cons"  type = "BUFFER" length = "0x00010000" />
281                <vobj name = "heap_cons"   type = "BUFFER" length = "0x00010000" /> 
282            </vseg>
283            <vseg name = "seg_stack_routA" vbase = "0x00900000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" > 
284                <vobj name = "stack_routA" type = "BUFFER" length = "0x00010000" />
285                <vobj name = "heap_routA"  type = "BUFFER" length = "0x00010000" /> 
286            </vseg>
287            <vseg name = "seg_stack_routB" vbase = "0x00A00000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" > 
288                <vobj name = "stack_routB" type = "BUFFER" length = "0x00010000" />
289                <vobj name = "heap_routB"  type = "BUFFER" length = "0x00010000" /> 
290            </vseg>
291            <vseg name = "seg_mwmrs"       vbase = "0x00B00000" mode = "__WU" x = "0" y = "0" psegname = "PSEG_RAM" > 
292                <vobj name = "mwmr_in"     type = "MWMR" length = "0x00000020" init = "1" />
293                <vobj name = "mwmr_out"    type = "MWMR" length = "0x00000020" init = "1" />
294                    </vseg>
295
296            <task name = "producer" x = "0" y = "0" proclocid = "0" stackname = "stack_prod"  heapname = "heap_prod"  startid = "0" usetty = "1" />
297            <task name = "consumer" x = "0" y = "1" proclocid = "0" stackname = "stack_cons"  heapname = "heap_cons"  startid = "1" usetty = "1" />
298            <task name = "router_A" x = "1" y = "0" proclocid = "0" stackname = "stack_routA" heapname = "heap_routA" startid = "2" usetty = "1" />
299            <task name = "router_B" x = "1" y = "1" proclocid = "0" stackname = "stack_routB" heapname = "heap_routB" startid = "2" usetty = "1" />
300        </vspace>
301
302        <vspace name = "hello" startname = "data" >
303            <vseg name = "seg_code"        vbase = "0x00400000" mode = "CX_U" x = "0" y = "1" psegname = "PSEG_RAM" > 
304                <vobj name = "code"            type     = "ELF" length = "0x00010000" binpath = "build/hello/hello.elf" />
305            </vseg>
306            <vseg name = "seg_data"        vbase = "0x00500000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" >
307                <vobj name = "data"        type = "ELF" length = "0x00010000" binpath = "build/hello/hello.elf" />
308            </vseg>
309            <vseg name = "seg_ptab"        vbase = "0x00600000" mode = "C___" x = "0" y = "1" psegname = "PSEG_RAM" >
310                <vobj name = "ptab"        type = "PTAB" length = "0x00012000" align = "13" /> 
311            </vseg>
312            <vseg name = "seg_stack"       vbase = "0x00700000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" >
313                <vobj name = "stack"       type = "BUFFER" length = "0x00010000" />
314                <vobj name = "heap"        type = "BUFFER" length = "0x00010000" />
315            </vseg>
316
317            <task name = "main_hello" x = "0" y = "1" proclocid = "1" stackname = "stack" heapname = "heap" startid = "0" usetty = "1" />
318        </vspace>
319
320        <vspace name = "pgcd" startname = "data" >
321            <vseg name = "seg_code"        vbase = "0x00400000" mode = "CX_U" x = "1" y = "0" psegname = "PSEG_RAM" >
322                <vobj name = "code"        type = "ELF" length = "0x00010000" binpath = "build/pgcd/pgcd.elf" />
323            </vseg>
324            <vseg name = "seg_data"        vbase = "0x00500000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" >
325                <vobj name      = "data"       type     = "ELF" length = "0x00010000" binpath = "build/pgcd/pgcd.elf" />
326            </vseg>
327            <vseg name = "seg_ptab"        vbase = "0x00600000" mode = "C___" x = "1" y = "0" psegname = "PSEG_RAM" >
328                <vobj name = "ptab"        type = "PTAB" length = "0x00012000" align = "13" />
329            </vseg>
330            <vseg name = "seg_stack"       vbase = "0x00700000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" >
331                <vobj name = "stack"       type = "BUFFER" length = "0x00010000" /> 
332                <vobj name = "heap"        type = "BUFFER" length = "0x00010000" /> 
333            </vseg>
334
335            <task name = "main_pgcd" x = "1" y = "0" proclocid = "1" stackname = "stack" heapname = "heap" startid = "0" usetty = "1" />
336        </vspace>
337
338        <vspace name = "display" startname = "data" >
339            <vseg name = "seg_code"        vbase = "0x00400000" mode = "CX_U" x = "1" y = "1" psegname = "PSEG_RAM" >
340                <vobj name = "code"        type = "ELF" length = "0x00010000" binpath = "build/display/display.elf" />
341            </vseg>
342            <vseg name = "seg_data"        vbase = "0x00500000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" >
343                <vobj name = "data"        type = "ELF" length = "0x00010000" binpath = "build/display/display.elf" />
344                           </vseg>
345            <vseg name = "seg_ptab"        vbase = "0x00600000" mode = "C___" x = "1" y = "1" psegname = "PSEG_RAM" >
346                <vobj name = "ptab"        type = "PTAB" length  = "0x00012000" align   = "13" />
347            </vseg>
348            <vseg name = "seg_stack"       vbase = "0x00700000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" >
349                <vobj name = "stack"       type = "BUFFER" length = "0x00010000" />
350                <vobj name = "heap"        type = "BUFFER" length = "0x00010000" />
351            </vseg>
352
353            <task name = "main_display" x = "1" y = "1" proclocid = "1" stackname = "stack" heapname = "heap" startid = "0" usetty = "1" usecma = "1" />
354        </vspace>
355
356    </vspaceset>
357</mapping_info>
Note: See TracBrowser for help on using the repository browser.