Changeset 400


Ignore:
Timestamp:
Aug 26, 2014, 3:38:53 PM (10 years ago)
Author:
cfuguet
Message:

mapping.py: bugfix in netbsd device tree generation

  • During Frame Buffer and Xicu instantiation, it exists only one argument (periph.arg): In the case of the Xicu, this argument corresponds to the HWI, PTI and WTI count, in the case of the Frame Buffer it correspondes to the WIDTH and HEIGHT.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/mapping.py

    r361 r400  
    12531253                    s += '    device_type = "soclib:xicu:root";\n'
    12541254                    s += '    reg         = <0x%x  0x%x  0x%x>;\n' % (msb, lsb, size)
    1255                     s += '    input_lines = <%d>;\n'    % periph.arg
    1256                     s += '    ipis        = <%d>;\n'    % periph.arg2
    1257                     s += '    timers      = <%d>;\n'    % periph.arg3
     1255                    s += '    input_lines = <%d>;\n'    % periph.arg
     1256                    s += '    ipis        = <%d>;\n'    % periph.arg
     1257                    s += '    timers      = <%d>;\n'    % periph.arg
    12581258
    12591259                    output_id = 0            # output index from XCU
     
    13521352                    s += '    device_type = "soclib:framebuffer";\n'
    13531353                    s += '    mode        = <32>;\n'                    # bits par pixel
    1354                     s += '    width       = <%d>;\n'    % periph.arg1
    1355                     s += '    height      = <%d>;\n'    % periph.arg
     1354                    s += '    width       = <%d>;\n'    % periph.arg
     1355                    s += '    height      = <%d>;\n'    % periph.arg
    13561356                    s += '    reg         = <0x%x  0x%x  0x%x>;\n' % (msb, lsb, size)
    13571357                    s += '  };\n'
Note: See TracChangeset for help on using the changeset viewer.