view TaskManager/ManyCore/ReferencedDmaManager.h @ 2022:fac44ad2867d draft

make a sound
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Wed, 16 Jul 2014 02:50:32 +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 */