Changeset 943 for trunk/platforms


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

Remove vobj from mapping_info, and remove seg_kernel_uncdata.

Location:
trunk/platforms/tsar_generic_iob
Files:
2 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
  • trunk/platforms/tsar_generic_iob/top.cpp

    r938 r943  
    14311431
    14321432        // Monitor a specific address for one L1 cache
    1433         // clusters[0][0]->proc[0]->cache_monitor(0xC0180ULL);
     1433        // clusters[0][0]->proc[0]->cache_monitor(0x600800ULL);
    14341434
    14351435        // Monitor a specific address for one L2 cache
    1436         // clusters[0][0]->memc->cache_monitor( 0x0ULL, true );   // one word
     1436        // clusters[0][0]->memc->cache_monitor( 0x600800ULL, false );   // full line
    14371437
    14381438        // Monitor a specific address for one XRAM
    1439         // clusters[0][0]->xram->start_monitor( 0x0ULL , 64);
     1439        // clusters[0][0]->xram->start_monitor( 0x600800ULL , 64);
    14401440
    14411441        if ( debug_ok and (n > debug_from) )
Note: See TracChangeset for help on using the changeset viewer.