Changeset 954


Ignore:
Timestamp:
Mar 10, 2015, 1:48:09 PM (9 years ago)
Author:
alain
Message:

Modify the arch.py file to comply with the new prototype
for the addPeriph(): 4 arguments arg0,arg1,arg2,arg3.

File:
1 edited

Legend:

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

    r944 r954  
    204204                xcu = mapping.addPeriph( 'XCU', base = xcu_base + offset,
    205205                                         size = xcu_size, ptype = 'XCU',
    206                                          channels = nb_procs * irq_per_proc, arg = 16 )
     206                                         channels = nb_procs * irq_per_proc,
     207                                         arg0 = 16, arg1 = 16, arg2 = 16, arg3 = 16 )
    207208
    208209                mapping.addIrq( xcu, index = 8, isrtype = 'ISR_MMC' )
     
    227228
    228229                fbf = mapping.addPeriph( 'FBF', base = fbf_base + offset, size = fbf_size,
    229                                          ptype = 'FBF', arg = fbf_width )
     230                                         ptype = 'FBF', arg0 = fbf_width, arg1 = fbf_width )
    230231
    231232                pic = mapping.addPeriph( 'PIC', base = pic_base + offset, size = pic_size,
Note: See TracChangeset for help on using the changeset viewer.