Ignore:
Timestamp:
Feb 14, 2015, 5:22:08 PM (9 years ago)
Author:
alain
Message:

Remove vobj from mapping_info, and remove seg_kernel_uncdata.

File:
1 edited

Legend:

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

    r938 r943  
    8383             or (y_size == 8) or (y_size == 16) )
    8484
    85     assert( (nb_ttys >= 1) and (nb_ttys <= 16) )
     85    assert( (nb_ttys >= 1) and (nb_ttys <= 8) )
    8686
    8787    assert( ((x_io == 0) and (y_io == 0)) or
     
    280280                mapping.addIrq( pic, index = 22, isrtype = 'ISR_TTY_RX', channel = 6 )
    281281                mapping.addIrq( pic, index = 23, isrtype = 'ISR_TTY_RX', channel = 7 )
    282                 mapping.addIrq( pic, index = 24, isrtype = 'ISR_TTY_RX', channel = 8 )
    283                 mapping.addIrq( pic, index = 25, isrtype = 'ISR_TTY_RX', channel = 9 )
    284                 mapping.addIrq( pic, index = 26, isrtype = 'ISR_TTY_RX', channel = 10 )
    285                 mapping.addIrq( pic, index = 27, isrtype = 'ISR_TTY_RX', channel = 11 )
    286                 mapping.addIrq( pic, index = 28, isrtype = 'ISR_TTY_RX', channel = 12 )
    287                 mapping.addIrq( pic, index = 29, isrtype = 'ISR_TTY_RX', channel = 13 )
    288                 mapping.addIrq( pic, index = 30, isrtype = 'ISR_TTY_RX', channel = 14 )
    289                 mapping.addIrq( pic, index = 31, isrtype = 'ISR_TTY_RX', channel = 15 )
    290282
    291283
     
    313305                       'CXW_', vtype = 'BUFFER', x = 0, y = 0, pseg = 'RAM',
    314306                       identity = True , local = False, big = True )
     307
     308    ### global vseg kernel_data : big / non local
     309    ### Only mapped in cluster[0][0]
     310    mapping.addGlobal( 'seg_kernel_data', kernel_data_vbase, kernel_data_size,
     311                       'CXW_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
     312                       binpath = 'build/kernel/kernel.elf',
     313                       local = False, big = True )
    315314
    316315    ### global vsegs kernel_code, kernel_init : big / local
     
    337336                               'CXW_', vtype = 'PTAB', x = x, y = y, pseg = 'RAM',
    338337                               local = False , big = True )
    339 
    340     ### global vseg kernel_data : big / non local
    341     ### Only mapped in cluster[0][0]
    342     mapping.addGlobal( 'seg_kernel_data', kernel_data_vbase, kernel_data_size,
    343                        'CXW_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    344                        binpath = 'build/kernel/kernel.elf',
    345                        local = False, big = True )
    346 
    347     ### global vseg kernel_uncdata : small / non local
    348     ### Only mapped in cluster[0][0]
    349     mapping.addGlobal( 'seg_kernel_uncdata', kernel_uncdata_vbase, kernel_uncdata_size,
    350                        '__W_', vtype = 'ELF', x = 0, y = 0, pseg = 'RAM',
    351                        binpath = 'build/kernel/kernel.elf',
    352                        local = False, big = False )
    353338
    354339    ### global vsegs kernel_sched_x_y : small / non local
Note: See TracChangeset for help on using the changeset viewer.