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

Last change on this file since 295 was 289, checked in by cfuguet, 11 years ago

Modifications on GIET-VM IOC driver:

  • Introducing new layer on the IOC driver. Every call to ioc_read, ioc_write, ioc_get_block_size or ioc_init

functions will call the specific driver of the used IOC
controller. Supported IOC controllers are (for now) :

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