view TaskManager/Fifo/ReferencedDmaManager.h @ 1553:21ddbc06dcde draft

fix GpuScheduler
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Sun, 17 Feb 2013 19:42:36 +0900
parents 70f461442b0f
children d28f0c5489c3
line wrap: on
line source

#ifndef INCLUDED_REFERENCED_DMA_MANAGER
#define INCLUDED_REFERENCED_DMA_MANAGER

#include "FifoDmaManager.h"

class ReferencedDmaManager : public FifoDmaManager {

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);
} ;

#endif/* REFERENCED_DMA_MANAGER */