Memory: remove CopyBlock with current process

This commit is contained in:
Weiyi Wang 2018-11-17 15:24:53 -05:00
parent 185a83f06d
commit 679dfd7cdf
3 changed files with 2 additions and 6 deletions

View file

@ -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;