Memory: remove CopyBlock with current process
This commit is contained in:
		| @@ -502,7 +502,8 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { | ||||
|  | ||||
|         // TODO(Subv): These memory accesses should not go through the application's memory mapping. | ||||
|         // They should go through the GSP module's memory mapping. | ||||
|         Memory::CopyBlock(command.dma_request.dest_address, command.dma_request.source_address, | ||||
|         Memory::CopyBlock(*Core::System::GetInstance().Kernel().GetCurrentProcess(), | ||||
|                           command.dma_request.dest_address, command.dma_request.source_address, | ||||
|                           command.dma_request.size); | ||||
|         SignalInterrupt(InterruptId::DMA); | ||||
|         break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Weiyi Wang
					Weiyi Wang