Changeset 409
- Timestamp:
- Jun 12, 2013, 11:59:02 AM (11 years ago)
- 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 125 125 // structural parameters 126 126 std::list<soclib::common::Segment> m_seglist; 127 size_t m_nbseg;128 127 uint32_t m_srcid; // initiator index 129 128 int m_fd; // File descriptor -
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.