Ignore:
Timestamp:
Dec 10, 2015, 2:14:16 PM (9 years ago)
Author:
alain
Message:

Remove the seg_kernel_init vseg from the mapping.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_iob/arch.py

    r1025 r1026  
    4343#
    4444#  Regarding the boot and kernel vsegs mapping :
    45 #  - We use one big physical page (2 Mbytes) for the preloader and the four
    46 #    boot vsegs, all allocated in cluster[0,0].
    47 #  - We use one big page per cluster for the replicated kernel code vsegs.
    48 #  - We use one big page in cluster[0][0] for the kernel data vseg.
    49 #  - We use one big page per cluster for the distributed kernel heap vsegs.
    50 #  - We use one big page per cluster for the distributed ptab vsegs.
    51 #  - We use small physical pages (4 Kbytes) per cluster for the schedulers.
    52 #  - We use one big page for each external peripheral in IO cluster,
    53 #  - We use one small page per 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.
    5454##################################################################################
    5555
     
    162162
    163163    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
    168165
    169166    kernel_data_vbase    = 0x90000000
     
    345342                       local = False, big = True )
    346343
    347     ### global vsegs kernel_code, kernel_init : big / local
     344    ### global vsegs kernel_code : big / local
    348345    ### replicated in all clusters with indexed name & same vbase
    349346    for x in xrange( x_size ):
     
    351348            mapping.addGlobal( 'seg_kernel_code_%d_%d' %(x,y),
    352349                               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,
    359350                               'CXW_', vtype = 'ELF', x = x , y = y , pseg = 'RAM',
    360351                               binpath = 'bin/kernel/kernel.elf',
Note: See TracChangeset for help on using the changeset viewer.