view TaskManager/Fifo/ReferencedDmaManager.h @ 1413:5b024efa2429 draft

fix free on non copy DMA
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 19 Feb 2012 10:07:27 +0900
parents 3a04b2e24df1
children 94ac6d8e73aa
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, void *buf, memaddr addr, uint32 size, uint32 mask);
    virtual void *dma_loadList(Scheduler *s, ListDataPtr list, void *buff, uint32 mask);
    virtual void free(void *buff);
} ;

#endif/* REFERENCED_DMA_MANAGER */