# HG changeset patch # User Daichi Toma # Date 1321347674 -32400 # Node ID 981b36f3833345463113bbe1d979e9d6c3dd6759 # Parent d2f70da2aa19750971072019415f3ae9a85bd9b7 add prefetcht0 diff -r d2f70da2aa19 -r 981b36f38333 TaskManager/Fifo/ReferencedDmaManager.cc --- a/TaskManager/Fifo/ReferencedDmaManager.cc Sat Nov 12 15:32:41 2011 +0900 +++ b/TaskManager/Fifo/ReferencedDmaManager.cc Tue Nov 15 18:01:14 2011 +0900 @@ -5,5 +5,7 @@ void * ReferencedDmaManager::dma_load(Scheduler *s, void *buf, memaddr addr, uint32 size, uint32 mask) { + asm volatile("prefetcht0 %0"::"m"(addr):"memory"); return (void*)addr; } +