Changeset 1026
- Timestamp:
- Dec 10, 2015, 2:14:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/arch.py
r1025 r1026 43 43 # 44 44 # Regarding the boot and kernel vsegs mapping : 45 # - We use one big physical page (2 Mbytes) for the preloader and the four46 # boot vsegs, allallocated in cluster[0,0].47 # - We use one big pageper cluster for the replicated kernel code vsegs.48 # - We use one big pagein cluster[0][0] for the kernel data vseg.49 # - We use one big pageper cluster for the distributed kernel heap vsegs.50 # - We use one big pageper cluster for the distributed ptab vsegs.51 # - We use small physical pages (4 Kbytes) per cluster for theschedulers.52 # - We use one big pagefor each external peripheral in IO cluster,53 # - We use one small pageper cluster for each internal peripheral.45 # - We use one big physical page (2 Mbytes) for the preloader, 46 # the 4 boot vsegs are packed in one BPP allocated in cluster[0,0]. 47 # - We use one BPP per cluster for the replicated kernel code vsegs. 48 # - We use one BPP in cluster[0][0] for the kernel data vseg. 49 # - We use two BPP per cluster for the distributed kernel heap vsegs. 50 # - We use one BPP per cluster for the distributed ptab vsegs. 51 # - We use two SPP per cluster for each schedulers. 52 # - We use one PBB for each external peripheral in IO cluster, 53 # - We use one SPP per cluster for each internal peripheral. 54 54 ################################################################################## 55 55 … … 162 162 163 163 kernel_code_vbase = 0x80000000 164 kernel_code_size = 0x00100000 # 1 Mbytes per cluster 165 166 kernel_init_vbase = 0x88000000 167 kernel_init_size = 0x00100000 # 1 Mbytes per cluster 164 kernel_code_size = 0x00200000 # 2 Mbytes per cluster 168 165 169 166 kernel_data_vbase = 0x90000000 … … 345 342 local = False, big = True ) 346 343 347 ### global vsegs kernel_code , kernel_init: big / local344 ### global vsegs kernel_code : big / local 348 345 ### replicated in all clusters with indexed name & same vbase 349 346 for x in xrange( x_size ): … … 351 348 mapping.addGlobal( 'seg_kernel_code_%d_%d' %(x,y), 352 349 kernel_code_vbase, kernel_code_size, 353 'CXW_', vtype = 'ELF', x = x , y = y , pseg = 'RAM',354 binpath = 'bin/kernel/kernel.elf',355 local = True, big = True )356 357 mapping.addGlobal( 'seg_kernel_init_%d_%d' %(x,y),358 kernel_init_vbase, kernel_init_size,359 350 'CXW_', vtype = 'ELF', x = x , y = y , pseg = 'RAM', 360 351 binpath = 'bin/kernel/kernel.elf',
Note: See TracChangeset
for help on using the changeset viewer.