Changeset 825 for trunk/platforms
- Timestamp:
- Oct 1, 2014, 11:30:41 AM (10 years ago)
- Location:
- trunk/platforms/tsar_generic_leti
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_leti/arch.py
r822 r825 158 158 kernel_data_size = 0x00100000 # 1 Mbytes in cluster[0][0] 159 159 160 kernel_ptab_vbase = 0xB0000000 160 kernel_uncdata_vbase = 0x80200000 161 kernel_uncdata_size = 0x00001000 # 4 Kbytes 162 163 kernel_sched_vbase = 0x80400000 # distributed in all clusters 164 kernel_sched_size = 0x00002000 * nb_procs # 8 kbytes per processor 165 166 kernel_ptab_vbase = 0xC0000000 161 167 kernel_ptab_size = 0x00200000 # 2 Mbytes per cluster 162 163 kernel_uncdata_vbase = 0x90000000164 kernel_uncdata_size = 0x00001000 # 4 Kbytes165 166 kernel_sched_vbase = 0xA0000000 # distributed in all clusters167 kernel_sched_size = 0x00002000 * nb_procs # 8 kbytes per processor168 168 169 169 ### create mapping … … 267 267 for x in xrange( x_size ): 268 268 for y in xrange( y_size ): 269 cluster_xy = (x << y_width) + y;270 271 269 mapping.addGlobal( 'seg_kernel_code', kernel_code_vbase, kernel_code_size, 272 270 'CXW_', vtype = 'ELF', x = x, y = y, pseg = 'RAM', … … 282 280 ### Only mapped in cluster[0][0] 283 281 mapping.addGlobal( 'seg_kernel_data', kernel_data_vbase, kernel_data_size, 284 'C_W_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 285 binpath = 'build/kernel/kernel.elf', local = False ) 282 'CXW_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 283 binpath = 'build/kernel/kernel.elf', 284 local = False, big = True ) 286 285 287 286 ### global vseg kernel_uncdata: non local / small page … … 289 288 mapping.addGlobal( 'seg_kernel_uncdata', kernel_uncdata_vbase, kernel_uncdata_size, 290 289 '__W_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM', 291 binpath = 'build/kernel/kernel.elf', local = False ) 290 binpath = 'build/kernel/kernel.elf', 291 local = False, big = False ) 292 292 293 293 for x in xrange( x_size ): … … 307 307 ### as vbase address is incremented by (cluster_xy * vseg_increment) 308 308 offset = cluster_xy * sched_increment 309 mapping.addGlobal( 'seg_kernel_sched_%d_%d' %(x,y), kernel_sched_vbase + offset 309 mapping.addGlobal( 'seg_kernel_sched_%d_%d' %(x,y), kernel_sched_vbase + offset, kernel_sched_size, 310 310 'C_W_', vtype = 'SCHED', x = x, y = y, pseg = 'RAM', 311 311 local = False, big = False )
Note: See TracChangeset
for help on using the changeset viewer.