view TaskManager/ManyCore/PreRefDmaManager.cc @ 2054:2e7a6f40672f draft

add param(4) in FileMapReduce.cc
author masa
date Fri, 29 Jan 2016 15:56:28 +0900
parents e0d465efc57e
children
line wrap: on
line source

#include "PreRefDmaManager.h"
#include "Scheduler.h"
#include "TaskManagerImpl.h"

void *
PreRefDmaManager::dma_load(Scheduler *s, memaddr addr, uint32 size, uint32 mask)
{

#ifdef __CERIUM_FIFO__
	asm("prefetcht0 %0"::"m"(addr):"memory");
#endif // __CERIUM_FIFO__


	return (void*)addr;
}

void
PreRefDmaManager::free_(void *buf) {
}