source: soft/giet_vm/mappings/4c_1p_iob_four.xml @ 259

Last change on this file since 259 was 258, checked in by alain, 11 years ago

This is a major release, including a deep restructuration of code.
The main evolutions are

  • use of the Tsar preloader to load the GIET boot-loader from disk
  • introduction of a FAT32 file system library,
  • use of this fat32 library by the boot-loader to load the map.bin data structure, and the various .elf files
  • reorganisation of drivers (one file per peripheral).
  • introduction of drivers for new peripherals: vci_chbuf_dma and vci_multi_ahci.
  • introduction of a new physical memory allocator in the boot code.

This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml

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