1 | <?xml version="1.0"?> |
---|
2 | |
---|
3 | <mapping_info signature = "0xdace2014" |
---|
4 | name = "4c_1p_transpose_iob" |
---|
5 | x_size = "2" |
---|
6 | y_size = "2" |
---|
7 | x_width = "4" |
---|
8 | y_width = "4" |
---|
9 | irq_per_proc = "1" |
---|
10 | x_io = "0" |
---|
11 | y_io = "0" > |
---|
12 | |
---|
13 | *** This mapping is for the "tsar_generic_iob" hardware architecture, |
---|
14 | *** with 4 clusters containing processors, 1 processor per cluster, |
---|
15 | *** 40 bits physical address, and 16 Mbytes per cluster. |
---|
16 | *** External peripherals are accessed (through IOB) in cluster(0,0) |
---|
17 | *** HWI interrupts from external peripherals are translated to WTI interrupts |
---|
18 | *** by an external IOPIC component. |
---|
19 | The parallel application "transpose" is launched on the 4 processors. |
---|
20 | |
---|
21 | <clusterset> |
---|
22 | |
---|
23 | <cluster x = "0" y = "0" > |
---|
24 | <pseg name = "PSEG_RAM" type = "RAM" base = "0x0000000000" length = "0x0010000000" /> |
---|
25 | <pseg name = "PSEG_XCU" type = "PERI" base = "0x00B0000000" length = "0x0000002000" /> |
---|
26 | <pseg name = "PSEG_DMA" type = "PERI" base = "0x00B1000000" length = "0x0000004000" /> |
---|
27 | <pseg name = "PSEG_MMC" type = "PERI" base = "0x00B2000000" length = "0x0000001000" /> |
---|
28 | |
---|
29 | *** Physical segments for external peripherals (including the ROM containing the preloader code) |
---|
30 | |
---|
31 | <pseg name = "PSEG_IOB" type = "PERI" base = "0x00BE000000" length = "0x0000100000" /> |
---|
32 | <pseg name = "PSEG_IOC" type = "PERI" base = "0x00B3000000" length = "0x0000001000" /> |
---|
33 | <pseg name = "PSEG_TTY" type = "PERI" base = "0x00B4000000" length = "0x0000001000" /> |
---|
34 | <pseg name = "PSEG_NIC" type = "PERI" base = "0x00B5000000" length = "0x0000080000" /> |
---|
35 | <pseg name = "PSEG_CMA" type = "PERI" base = "0x00B6000000" length = "0x0000008000" /> |
---|
36 | <pseg name = "PSEG_FBF" type = "PERI" base = "0x00B7000000" length = "0x0000004000" /> |
---|
37 | <pseg name = "PSEG_PIC" type = "PERI" base = "0x00B8000000" length = "0x0000001000" /> |
---|
38 | <pseg name = "PSEG_ROM" type = "PERI" base = "0x00BFC00000" length = "0x0000004000" /> |
---|
39 | |
---|
40 | <proc index = "0" /> |
---|
41 | |
---|
42 | <periph type = "MMC" psegname = "PSEG_MMC" > |
---|
43 | </periph> |
---|
44 | <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" > |
---|
45 | </periph> |
---|
46 | <periph type = "IOB" psegname = "PSEG_IOB" > |
---|
47 | </periph> |
---|
48 | <periph type = "XCU" psegname = "PSEG_XCU" channels = "16" > |
---|
49 | <irq srctype = "WTI" srcid = "0" isr = "ISR_WAKUP" dstid = "0" /> |
---|
50 | <irq srctype = "WTI" srcid = "4" isr = "ISR_NIC_RX" channel = "0" dstid = "0" /> |
---|
51 | <irq srctype = "WTI" srcid = "5" isr = "ISR_NIC_RX" channel = "1" dstid = "0" /> |
---|
52 | <irq srctype = "WTI" srcid = "6" isr = "ISR_NIC_TX" channel = "0" dstid = "0" /> |
---|
53 | <irq srctype = "WTI" srcid = "7" isr = "ISR_NIC_TX" channel = "1" dstid = "0" /> |
---|
54 | <irq srctype = "WTI" srcid = "8" isr = "ISR_CMA" channel = "0" dstid = "0" /> |
---|
55 | <irq srctype = "WTI" srcid = "9" isr = "ISR_CMA" channel = "1" dstid = "0" /> |
---|
56 | <irq srctype = "WTI" srcid = "10" isr = "ISR_CMA" channel = "2" dstid = "0" /> |
---|
57 | <irq srctype = "WTI" srcid = "11" isr = "ISR_CMA" channel = "3" dstid = "0" /> |
---|
58 | <irq srctype = "WTI" srcid = "12" isr = "ISR_BDV" dstid = "0" /> |
---|
59 | <irq srctype = "WTI" srcid = "13" isr = "ISR_TTY_RX" channel = "0" dstid = "0" /> |
---|
60 | <irq srctype = "WTI" srcid = "14" isr = "ISR_TTY_RX" channel = "1" dstid = "0" /> |
---|
61 | <irq srctype = "PTI" srcid = "0" isr = "ISR_TICK" dstid = "0" /> |
---|
62 | <irq srctype = "HWI" srcid = "0" isr = "ISR_MMC" dstid = "0" /> |
---|
63 | </periph> |
---|
64 | |
---|
65 | *** external peripherals |
---|
66 | |
---|
67 | <periph type = "IOC" psegname = "PSEG_IOC" subtype = "BDV" > |
---|
68 | </periph> |
---|
69 | <periph type = "TTY" psegname = "PSEG_TTY" channels = "5" > |
---|
70 | </periph> |
---|
71 | <periph type = "NIC" psegname = "PSEG_NIC" channels = "2" > |
---|
72 | </periph> |
---|
73 | <periph type = "CMA" psegname = "PSEG_CMA" channels = "4" > |
---|
74 | </periph> |
---|
75 | <periph type = "FBF" psegname = "PSEG_FBF" > |
---|
76 | </periph> |
---|
77 | <periph type = "ROM" psegname = "PSEG_ROM" > |
---|
78 | </periph> |
---|
79 | <periph type = "PIC" psegname = "PSEG_PIC" channels = "32" > |
---|
80 | <irq srcid = "0" dstx = "0" dsty = "0" dstid = "4" /> |
---|
81 | <irq srcid = "1" dstx = "0" dsty = "0" dstid = "5" /> |
---|
82 | <irq srcid = "2" dstx = "0" dsty = "0" dstid = "6" /> |
---|
83 | <irq srcid = "3" dstx = "0" dsty = "0" dstid = "7" /> |
---|
84 | <irq srcid = "4" dstx = "0" dsty = "0" dstid = "8" /> |
---|
85 | <irq srcid = "5" dstx = "0" dsty = "0" dstid = "9" /> |
---|
86 | <irq srcid = "6" dstx = "0" dsty = "0" dstid = "10" /> |
---|
87 | <irq srcid = "7" dstx = "0" dsty = "0" dstid = "11" /> |
---|
88 | <irq srcid = "8" dstx = "0" dsty = "0" dstid = "12" /> |
---|
89 | <irq srcid = "16" dstx = "0" dsty = "0" dstid = "13" /> |
---|
90 | <irq srcid = "17" dstx = "0" dsty = "0" dstid = "14" /> |
---|
91 | <irq srcid = "18" dstx = "0" dsty = "1" dstid = "13" /> |
---|
92 | <irq srcid = "19" dstx = "0" dsty = "1" dstid = "14" /> |
---|
93 | <irq srcid = "20" dstx = "1" dsty = "0" dstid = "13" /> |
---|
94 | <irq srcid = "21" dstx = "1" dsty = "0" dstid = "14" /> |
---|
95 | <irq srcid = "21" dstx = "1" dsty = "1" dstid = "13" /> |
---|
96 | <irq srcid = "22" dstx = "1" dsty = "1" dstid = "14" /> |
---|
97 | </periph> |
---|
98 | </cluster> |
---|
99 | |
---|
100 | <cluster x = "0" y = "1" > |
---|
101 | <pseg name = "PSEG_RAM" type = "RAM" base = "0x0100000000" length = "0x0010000000" /> |
---|
102 | <pseg name = "PSEG_XCU" type = "PERI" base = "0x01B0000000" length = "0x0000002000" /> |
---|
103 | <pseg name = "PSEG_DMA" type = "PERI" base = "0x01B1000000" length = "0x0000004000" /> |
---|
104 | <pseg name = "PSEG_MMC" type = "PERI" base = "0x01B2000000" length = "0x0000001000" /> |
---|
105 | |
---|
106 | <proc index = "0" /> |
---|
107 | |
---|
108 | <periph type = "MMC" psegname = "PSEG_MMC" > |
---|
109 | </periph> |
---|
110 | <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" > |
---|
111 | </periph> |
---|
112 | <periph type = "XCU" psegname = "PSEG_XCU" channels = "16" > |
---|
113 | <irq srctype = "WTI" srcid = "0" isr = "ISR_WAKUP" dstid = "0" /> |
---|
114 | <irq srctype = "PTI" srcid = "0" isr = "ISR_TICK" dstid = "0" /> |
---|
115 | <irq srctype = "HWI" srcid = "0" isr = "ISR_MMC" dstid = "0" /> |
---|
116 | </periph> |
---|
117 | </cluster> |
---|
118 | |
---|
119 | <cluster x = "1" y = "0" > |
---|
120 | <pseg name = "PSEG_RAM" type = "RAM" base = "0x1000000000" length = "0x0010000000" /> |
---|
121 | <pseg name = "PSEG_XCU" type = "PERI" base = "0x10B0000000" length = "0x0000002000" /> |
---|
122 | <pseg name = "PSEG_DMA" type = "PERI" base = "0x10B1000000" length = "0x0000004000" /> |
---|
123 | <pseg name = "PSEG_MMC" type = "PERI" base = "0x10B2000000" length = "0x0000001000" /> |
---|
124 | |
---|
125 | <proc index = "0" /> |
---|
126 | |
---|
127 | <periph type = "MMC" psegname = "PSEG_MMC" > |
---|
128 | </periph> |
---|
129 | <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" > |
---|
130 | </periph> |
---|
131 | <periph type = "XCU" psegname = "PSEG_XCU" channels = "16" > |
---|
132 | <irq srctype = "WTI" srcid = "0" isr = "ISR_WAKUP" dstid = "0" /> |
---|
133 | <irq srctype = "PTI" srcid = "0" isr = "ISR_TICK" dstid = "0" /> |
---|
134 | <irq srctype = "HWI" srcid = "0" isr = "ISR_MMC" dstid = "0" /> |
---|
135 | </periph> |
---|
136 | </cluster> |
---|
137 | |
---|
138 | <cluster x = "1" y = "1" > |
---|
139 | <pseg name = "PSEG_RAM" type = "RAM" base = "0x1100000000" length = "0x0010000000" /> |
---|
140 | <pseg name = "PSEG_XCU" type = "PERI" base = "0x11B0000000" length = "0x0000002000" /> |
---|
141 | <pseg name = "PSEG_DMA" type = "PERI" base = "0x11B1000000" length = "0x0000004000" /> |
---|
142 | <pseg name = "PSEG_MMC" type = "PERI" base = "0x11B2000000" length = "0x0000001000" /> |
---|
143 | |
---|
144 | <proc index = "0" /> |
---|
145 | |
---|
146 | <periph type = "MMC" psegname = "PSEG_MMC" > |
---|
147 | </periph> |
---|
148 | <periph type = "DMA" psegname = "PSEG_DMA" channels = "1" > |
---|
149 | </periph> |
---|
150 | <periph type = "XCU" psegname = "PSEG_XCU" channels = "16" > |
---|
151 | <irq srctype = "WTI" srcid = "0" isr = "ISR_WAKUP" dstid = "0" /> |
---|
152 | <irq srctype = "PTI" srcid = "0" isr = "ISR_TICK" dstid = "0" /> |
---|
153 | <irq srctype = "HWI" srcid = "0" isr = "ISR_MMC" dstid = "0" /> |
---|
154 | </periph> |
---|
155 | </cluster> |
---|
156 | </clusterset> |
---|
157 | |
---|
158 | <globalset> |
---|
159 | |
---|
160 | *** Global vsegs associated to peripherals replicated in all clusters (XCU, MMC, SCHED, DMA) |
---|
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 is 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 can contain a complete .elf file. Not reused by the kernel. |
---|
173 | |
---|
174 | <vseg name = "seg_boot_mapping" vbase = "0x00000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > |
---|
175 | <vobj name = "boot_mapping" type = "BLOB" length = "0x00010000" binpath = "map.bin" /> |
---|
176 | </vseg> |
---|
177 | <vseg name = "seg_boot_code" vbase = "0x00010000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > |
---|
178 | <vobj name = "boot_code" type = "BUFFER" length = "0x00020000" /> |
---|
179 | </vseg> |
---|
180 | <vseg name = "seg_boot_data" vbase = "0x00030000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > |
---|
181 | <vobj name = "boot_data" type = "BUFFER" length = "0x00010000" /> |
---|
182 | </vseg> |
---|
183 | <vseg name = "seg_boot_buffer" vbase = "0x00040000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > |
---|
184 | <vobj name = "boot_buffer" type = "BUFFER" length = "0x00060000" /> |
---|
185 | </vseg> |
---|
186 | <vseg name = "seg_boot_stack" vbase = "0x000A0000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" ident = "1" > |
---|
187 | <vobj name = "boot_stack" type = "BUFFER" length = "0x00050000" /> |
---|
188 | </vseg> |
---|
189 | |
---|
190 | *** 4 global vsegs used by the kernel / A[31:28] = 0x8 |
---|
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 | *** 8 Global vsegs for external peripherals / A[31:28] = 0xB / Identity mapping |
---|
206 | |
---|
207 | <vseg name = "seg_iob" vbase = "0xBE000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_IOB" ident = "1" > |
---|
208 | <vobj name = "iob" type = "PERI" length = "0x00001000" /> |
---|
209 | </vseg> |
---|
210 | <vseg name = "seg_ioc" vbase = "0xB3000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_IOC" ident = "1" > |
---|
211 | <vobj name = "ioc" type = "PERI" length = "0x00001000" /> |
---|
212 | </vseg> |
---|
213 | <vseg name = "seg_tty" vbase = "0xB4000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_TTY" ident = "1" > |
---|
214 | <vobj name = "tty" type = "PERI" length = "0x00001000" /> |
---|
215 | </vseg> |
---|
216 | <vseg name = "seg_nic" vbase = "0xB5000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_NIC" ident = "1" > |
---|
217 | <vobj name = "nic" type = "PERI" length = "0x00080000" /> |
---|
218 | </vseg> |
---|
219 | <vseg name = "seg_cma" vbase = "0xB6000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_CMA" ident = "1" > |
---|
220 | <vobj name = "cma" type = "PERI" length = "0x00008000" /> |
---|
221 | </vseg> |
---|
222 | <vseg name = "seg_fbf" vbase = "0xB7000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_FBF" ident = "1" > |
---|
223 | <vobj name = "fbf" type = "PERI" length = "0x00004000" /> |
---|
224 | </vseg> |
---|
225 | <vseg name = "seg_pic" vbase = "0xB8000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_PIC" ident = "1" > |
---|
226 | <vobj name = "pic" type = "PERI" length = "0x00001000" /> |
---|
227 | </vseg> |
---|
228 | <vseg name = "seg_rom" vbase = "0xBFC00000" mode = "CXW_" x = "0" y = "0" psegname = "PSEG_ROM" ident = "1" > |
---|
229 | <vobj name = "rom" type = "PERI" length = "0x00004000" /> |
---|
230 | </vseg> |
---|
231 | |
---|
232 | *** 4 global vsegs for replicated ICUS / A[31:24] = 0xB0 / Increment = 0x10000 / Identity mapping in cluster 0 |
---|
233 | |
---|
234 | <vseg name = "seg_icu_0" vbase = "0xB0000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_XCU" ident = "1" > |
---|
235 | <vobj name = "icu_0" type = "PERI" length = "0x00001000" /> |
---|
236 | </vseg> |
---|
237 | <vseg name = "seg_icu_1" vbase = "0xB0010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_XCU" > |
---|
238 | <vobj name = "icu_1" type = "PERI" length = "0x00001000" /> |
---|
239 | </vseg> |
---|
240 | <vseg name = "seg_icu_2" vbase = "0xB0100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_XCU" > |
---|
241 | <vobj name = "icu_2" type = "PERI" length = "0x00001000" /> |
---|
242 | </vseg> |
---|
243 | <vseg name = "seg_icu_3" vbase = "0xB0110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_XCU" > |
---|
244 | <vobj name = "icu_3" type = "PERI" length = "0x00001000" /> |
---|
245 | </vseg> |
---|
246 | |
---|
247 | *** 4 global vsegs for replicated DMAs / A[31:24] = 0xB1 / Increment = 0x10000 / Tdentity mapping in cluster 0 |
---|
248 | *** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) |
---|
249 | *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) |
---|
250 | |
---|
251 | <vseg name = "seg_dma_0" vbase = "0xB1000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_DMA" ident = "1" > |
---|
252 | <vobj name = "dma_0" type = "PERI" length = "0x00004000" /> |
---|
253 | </vseg> |
---|
254 | <vseg name = "seg_dma_1" vbase = "0xB1010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_DMA" > |
---|
255 | <vobj name = "dma_1" type = "PERI" length = "0x00004000" /> |
---|
256 | </vseg> |
---|
257 | <vseg name = "seg_dma_2" vbase = "0xB1100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_DMA" > |
---|
258 | <vobj name = "dma_2" type = "PERI" length = "0x00004000" /> |
---|
259 | </vseg> |
---|
260 | <vseg name = "seg_dma_3" vbase = "0xB1110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_DMA" > |
---|
261 | <vobj name = "dma_3" type = "PERI" length = "0x00004000" /> |
---|
262 | </vseg> |
---|
263 | |
---|
264 | *** 4 global segs for replicated MMC / A[31:24] = 0xB2 / Increment = 0x10000 / Identity mapping in cluster 0 |
---|
265 | *** The peripheral type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) |
---|
266 | *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) |
---|
267 | |
---|
268 | <vseg name = "seg_memc_0" vbase = "0xB2000000" mode = "__W_" x = "0" y = "0" psegname = "PSEG_MMC" ident = "1" > |
---|
269 | <vobj name = "memc_0" type = "PERI" length = "0x00001000" /> |
---|
270 | </vseg> |
---|
271 | <vseg name = "seg_memc_1" vbase = "0xB2010000" mode = "__W_" x = "0" y = "1" psegname = "PSEG_MMC" > |
---|
272 | <vobj name = "memc_1" type = "PERI" length = "0x00001000" /> |
---|
273 | </vseg> |
---|
274 | <vseg name = "seg_memc_2" vbase = "0xB2100000" mode = "__W_" x = "1" y = "0" psegname = "PSEG_MMC" > |
---|
275 | <vobj name = "memc_2" type = "PERI" length = "0x00001000" /> |
---|
276 | </vseg> |
---|
277 | <vseg name = "seg_memc_3" vbase = "0xB2110000" mode = "__W_" x = "1" y = "1" psegname = "PSEG_MMC" > |
---|
278 | <vobj name = "memc_3" type = "PERI" length = "0x00001000" /> |
---|
279 | </vseg> |
---|
280 | |
---|
281 | *** 4 global vsegs for replicated schedulers / A[31:28] = 0xF / Increment = 0x10000 |
---|
282 | *** The type must be entirely defined by the 8 virtual address MSB bits (mask_type = 0xFF000000) |
---|
283 | *** The cluster id must be encoded in the next 8 virtual address bits (cluster_mask = 0x00FF0000) |
---|
284 | |
---|
285 | <vseg name = "seg_sched_0" vbase = "0xF0000000" mode = "C_W_" x = "0" y = "0" psegname = "PSEG_RAM" > |
---|
286 | <vobj name = "sched_0" type = "SCHED" length = "0x00008000" /> |
---|
287 | </vseg> |
---|
288 | <vseg name = "seg_sched_1" vbase = "0xF0010000" mode = "C_W_" x = "0" y = "1" psegname = "PSEG_RAM" > |
---|
289 | <vobj name = "sched_1" type = "SCHED" length = "0x00008000" /> |
---|
290 | </vseg> |
---|
291 | <vseg name = "seg_sched_2" vbase = "0xF0100000" mode = "C_W_" x = "1" y = "0" psegname = "PSEG_RAM" > |
---|
292 | <vobj name = "sched_2" type = "SCHED" length = "0x00008000" /> |
---|
293 | </vseg> |
---|
294 | <vseg name = "seg_sched_3" vbase = "0xF0110000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" > |
---|
295 | <vobj name = "sched_3" type = "SCHED" length = "0x00008000" /> |
---|
296 | </vseg> |
---|
297 | |
---|
298 | </globalset> |
---|
299 | |
---|
300 | <vspaceset> |
---|
301 | |
---|
302 | *** For each vspace, the startname field is the name of the vobj containing the start_vector (entry point array) |
---|
303 | *** For each task, the startid field define the task entry point as an index in the start_vector |
---|
304 | *** For each task, the clusterid and proclocid arguments define the task static placement |
---|
305 | *** For each task, the stackname field is the name of the vobj containing the task stack |
---|
306 | *** For each task, the heapname field is the name of the vobj containing the task heap |
---|
307 | |
---|
308 | <vspace name = "transpose" startname = "trsp_data" > |
---|
309 | <vseg name = "seg_trsp_code" vbase = "0x00400000" mode = "CXWU" x = "1" y = "1" psegname = "PSEG_RAM" > |
---|
310 | <vobj name = "trsp_code" type = "ELF" length = "0x00010000" binpath = "build/transpose/transpose.elf" /> |
---|
311 | </vseg> |
---|
312 | <vseg name = "seg_trsp_data" vbase = "0x00500000" mode = "__WU" x = "1" y = "1" psegname = "PSEG_RAM" > |
---|
313 | <vobj name = "trsp_data" type = "ELF" length = "0x00010000" binpath = "build/transpose/transpose.elf" /> |
---|
314 | </vseg> |
---|
315 | <vseg name = "seg_trsp_ptab" vbase = "0x00600000" mode = "C_W_" x = "1" y = "1" psegname = "PSEG_RAM" > |
---|
316 | <vobj name = "trsp_ptab" type = "PTAB" length = "0x00020000" align = "13" /> |
---|
317 | </vseg> |
---|
318 | <vseg name = "seg_trsp_stack0" vbase = "0x00800000" mode = "C_WU" x = "0" y = "0" psegname = "PSEG_RAM" > |
---|
319 | <vobj name = "trsp_stack0" type = "BUFFER" length = "0x00010000" /> |
---|
320 | <vobj name = "trsp_heap_0" type = "BUFFER" length = "0x00010000" /> |
---|
321 | </vseg> |
---|
322 | <vseg name = "seg_trsp_stack1" vbase = "0x00A00000" mode = "C_WU" x = "0" y = "1" psegname = "PSEG_RAM" > |
---|
323 | <vobj name = "trsp_stack1" type = "BUFFER" length = "0x00010000" /> |
---|
324 | <vobj name = "trsp_heap_1" type = "BUFFER" length = "0x00010000" /> |
---|
325 | </vseg> |
---|
326 | <vseg name = "seg_trsp_stack2" vbase = "0x00C00000" mode = "C_WU" x = "1" y = "0" psegname = "PSEG_RAM" > |
---|
327 | <vobj name = "trsp_stack2" type = "BUFFER" length = "0x00010000" /> |
---|
328 | <vobj name = "trsp_heap_2" type = "BUFFER" length = "0x00010000" /> |
---|
329 | </vseg> |
---|
330 | <vseg name = "seg_trsp_stack3" vbase = "0x00E00000" mode = "C_WU" x = "1" y = "1" psegname = "PSEG_RAM" > |
---|
331 | <vobj name = "trsp_stack3" type = "BUFFER" length = "0x00010000" /> |
---|
332 | <vobj name = "trsp_heap_3" type = "BUFFER" length = "0x00010000" /> |
---|
333 | </vseg> |
---|
334 | |
---|
335 | <task name = "trsp_0" trdid = "0" x = "0" y = "0" proclocid = "0" stackname = "trsp_stack0" heapname = "trsp_heap_0" startid = "0" usetty = "1" /> |
---|
336 | <task name = "trsp_1" trdid = "1" x = "0" y = "1" proclocid = "0" stackname = "trsp_stack1" heapname = "trsp_heap_1" startid = "0" usetty = "1" /> |
---|
337 | <task name = "trsp_2" trdid = "2" x = "1" y = "0" proclocid = "0" stackname = "trsp_stack2" heapname = "trsp_heap_2" startid = "0" usetty = "1" /> |
---|
338 | <task name = "trsp_3" trdid = "3" x = "1" y = "1" proclocid = "0" stackname = "trsp_stack3" heapname = "trsp_heap_3" startid = "0" usetty = "1" /> |
---|
339 | </vspace> |
---|
340 | </vspaceset> |
---|
341 | </mapping_info> |
---|