Mercurial > hg > Game > Cerium
annotate TaskManager/Fifo/ReferencedDmaManager.h @ 1415:774ea7a71b0f draft
try to fix bound in ReferencedDmaManager
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 19 Feb 2012 15:45:36 +0900 |
parents | 94ac6d8e73aa |
children | 88d1b95e5f8d |
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 */ |
1259 | 10 virtual void *dma_load(Scheduler *s, void *buf, memaddr addr, uint32 size, uint32 mask); |
1413
5b024efa2429
fix free on non copy DMA
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1300
diff
changeset
|
11 virtual void *dma_loadList(Scheduler *s, ListDataPtr list, void *buff, uint32 mask); |
1414
94ac6d8e73aa
fix free inifite loop
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
1413
diff
changeset
|
12 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
|
13 virtual void bound(ListData *list); |
1219
a27c361c436b
add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
14 } ; |
a27c361c436b
add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
15 |
a27c361c436b
add ReferencedDmaManager.cc
Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
16 #endif/* REFERENCED_DMA_MANAGER */ |