Changeset 581 for trunk/modules
- Timestamp:
- Dec 3, 2013, 5:10:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp
r580 r581 506 506 { 507 507 r_latency_count = m_latency; 508 ::lseek(m_fd, (r_lba + r_block_count)*m_words_per_block* vci_param::B, SEEK_SET);509 if( ::write(m_fd, r_local_buffer, m_words_per_block* vci_param::B) < 0 )508 ::lseek(m_fd, (r_lba + r_block_count)*m_words_per_block*4, SEEK_SET); 509 if( ::write(m_fd, r_local_buffer, m_words_per_block*4) < 0 ) 510 510 { 511 511 r_initiator_fsm = M_WRITE_ERROR;
Note: See TracChangeset
for help on using the changeset viewer.