view TaskManager/ManyCore/ReferencedDmaManager.h @ 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

#ifndef INCLUDED_REFERENCED_DMA_MANAGER
#define INCLUDED_REFERENCED_DMA_MANAGER

#include "ManyCoreDmaManager.h"

class ReferencedDmaManager : public ManyCoreDmaManager {

public:
	/* functions */
    virtual void *dma_load(Scheduler *s, memaddr addr, uint32 size, uint32 mask);
    virtual void *dma_load1(void *buf, memaddr addr, uint32 size, uint32 mask);
    virtual void *dma_loadList(Scheduler *s, ListDataPtr list, uint32 mask);
    virtual void *dma_store(void *buf, memaddr addr, uint32 size, uint32 mask);
    virtual void dma_storeList(ListDataPtr list, void *buff, uint32 mask);
    virtual void *get_writebuf(Scheduler *s,memaddr addr, uint32 size);

    virtual void free_(void *buff);
    virtual void bound(ListData *list);
    virtual void set_mail_waiter(SemPtr w) {
        mail_queue1->set_waiter(w);
    }

} ;

#endif/* REFERENCED_DMA_MANAGER */