annotate TaskManager/Fifo/ReferencedDmaManager.h @ 1417:70f461442b0f draft

null DMA clean up
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 19 Feb 2012 21:01:06 +0900
parents 88d1b95e5f8d
children d28f0c5489c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1219
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #ifndef INCLUDED_REFERENCED_DMA_MANAGER
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #define INCLUDED_REFERENCED_DMA_MANAGER
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #include "FifoDmaManager.h"
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 class ReferencedDmaManager : public FifoDmaManager {
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 public:
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 /* functions */
1417
70f461442b0f null DMA clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1416
diff changeset
10 virtual void *dma_load(Scheduler *s, memaddr addr, uint32 size, uint32 mask);
70f461442b0f null DMA clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1416
diff changeset
11 virtual void *dma_load1(void *buf, memaddr addr, uint32 size, uint32 mask);
70f461442b0f null DMA clean up
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1416
diff changeset
12 virtual void *dma_loadList(Scheduler *s, ListDataPtr list, uint32 mask);
1416
88d1b95e5f8d NULL write DMA mode
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1415
diff changeset
13 virtual void *dma_store(void *buf, memaddr addr, uint32 size, uint32 mask);
88d1b95e5f8d NULL write DMA mode
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1415
diff changeset
14 virtual void dma_storeList(ListDataPtr list, void *buff, uint32 mask);
88d1b95e5f8d NULL write DMA mode
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1415
diff changeset
15 virtual void *get_writebuf(Scheduler *s,memaddr addr, uint32 size);
88d1b95e5f8d NULL write DMA mode
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1415
diff changeset
16
1414
94ac6d8e73aa fix free inifite loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1413
diff changeset
17 virtual void free_(void *buff);
1415
774ea7a71b0f try to fix bound in ReferencedDmaManager
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1414
diff changeset
18 virtual void bound(ListData *list);
1219
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 } ;
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
a27c361c436b add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 #endif/* REFERENCED_DMA_MANAGER */