Changeset 409 for trunk/modules/vci_block_device_tsar/caba/source/src
- Timestamp:
- Jun 12, 2013, 11:59:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp
r408 r409 647 647 : caba::BaseModule(name), 648 648 m_seglist(mt.getSegmentList(tgtid)), 649 m_nbseg(0),650 649 m_srcid(mt.indexForId(srcid)), 651 650 m_words_per_block(block_size/4), … … 667 666 sensitive << p_clk.neg(); 668 667 668 size_t nbsegs = 0; 669 669 std::list<soclib::common::Segment>::iterator seg; 670 670 for ( seg = m_seglist.begin() ; seg != m_seglist.end() ; seg++ ) 671 671 { 672 m_nbseg++;672 nbsegs++; 673 673 674 674 if ( (seg->baseAddress() & 0x0000003F) != 0 ) … … 688 688 } 689 689 690 if( m_nbseg== 0 )690 if( nbsegs == 0 ) 691 691 { 692 692 std::cout << "Error in component VciBlockDeviceTsar : " << name
Note: See TracChangeset
for help on using the changeset viewer.