omap3530/beagle_drivers/medstaticrd/beagle_medstaticrd.cpp
branchGCC_SURGE
changeset 120 10294cf40451
parent 113 922af0272d29
equal deleted inserted replaced
110:c1bfa2b1009b 120:10294cf40451
   520 		else if ( aTransactionDirection == NVMEM_TRANSACTION_READ )
   520 		else if ( aTransactionDirection == NVMEM_TRANSACTION_READ )
   521 		{
   521 		{
   522 			memcpy( iTransferBufferLin, (TAny *)(iDiscBufferLin+(aTransactionSectorOffset<<9)), aTransactionSectorCount*512 );
   522 			memcpy( iTransferBufferLin, (TAny *)(iDiscBufferLin+(aTransactionSectorOffset<<9)), aTransactionSectorCount*512 );
   523 		}
   523 		}
   524 		iLatestTransferSectorCount = aTransactionSectorCount;
   524 		iLatestTransferSectorCount = aTransactionSectorCount;
   525 		Isr(this); // terrible hack, we've yransferred all the sectors and now we pretend to generate an interrupt
   525 		
       
   526 		// Isr(this); // terrible hack, we've yransferred all the sectors and now we pretend to generate an interrupt
       
   527 		iSessionEndDfc.Enque();
   526 		}
   528 		}
   527 	else
   529 	else
   528 		{
   530 		{
   529 		Kern::Fault("DMediaDriverStaticRD::ContinueTransaction: Undefined transaction!", 0);
   531 		Kern::Fault("DMediaDriverStaticRD::ContinueTransaction: Undefined transaction!", 0);
   530 		}
   532 		}