Changeset 409


Ignore:
Timestamp:
Jun 12, 2013, 11:59:02 AM (12 years ago)
Author:
alain
Message:

Cosmetic

Location:
trunk/modules/vci_block_device_tsar/caba/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_block_device_tsar/caba/source/include/vci_block_device_tsar.h

    r408 r409  
    125125    // structural parameters
    126126    std::list<soclib::common::Segment> m_seglist;
    127     size_t                             m_nbseg;
    128127    uint32_t                           m_srcid;            // initiator index
    129128    int                                m_fd;               // File descriptor
  • trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp

    r408 r409  
    647647: caba::BaseModule(name),
    648648        m_seglist(mt.getSegmentList(tgtid)),
    649     m_nbseg(0),
    650649        m_srcid(mt.indexForId(srcid)),
    651650        m_words_per_block(block_size/4),
     
    667666    sensitive << p_clk.neg();
    668667
     668    size_t nbsegs = 0;
    669669    std::list<soclib::common::Segment>::iterator seg;
    670670    for ( seg = m_seglist.begin() ; seg != m_seglist.end() ; seg++ )
    671671    {
    672         m_nbseg++;
     672        nbsegs++;
    673673       
    674674            if ( (seg->baseAddress() & 0x0000003F) != 0 )
     
    688688    }
    689689
    690     if( m_nbseg == 0 )
     690    if( nbsegs == 0 )
    691691    {
    692692                std::cout << "Error in component VciBlockDeviceTsar : " << name
Note: See TracChangeset for help on using the changeset viewer.