annotate include/TaskManager/DmaManager.h @ 310:364abe879376 draft

remove smanager
author e065746@localhost.localdomain
date Mon, 08 Jun 2009 20:31:29 +0900
parents 3fc86ddf5d1c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_DMA_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_DMA_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
3
307
3fc86ddf5d1c clean up include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 255
diff changeset
4 #include "base.h"
3fc86ddf5d1c clean up include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 255
diff changeset
5 #include "ListData.h"
3fc86ddf5d1c clean up include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 255
diff changeset
6 #include "types.h"
180
e3b7776b1420 いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
gongo@localhost.localdomain
parents: 109
diff changeset
7
e3b7776b1420 いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
gongo@localhost.localdomain
parents: 109
diff changeset
8 enum dma_tag {
233
gongo@localhost.localdomain
parents: 180
diff changeset
9 DMA_READ = 25,
gongo@localhost.localdomain
parents: 180
diff changeset
10 DMA_WRITE = 27,
gongo@localhost.localdomain
parents: 180
diff changeset
11 DMA_READ_IN_LIST = 29,
gongo@localhost.localdomain
parents: 180
diff changeset
12 DMA_READ_OUT_LIST = 30,
gongo@localhost.localdomain
parents: 180
diff changeset
13 DMA_READ_TASKLIST = 31,
180
e3b7776b1420 いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
gongo@localhost.localdomain
parents: 109
diff changeset
14 };
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
15
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
16 class DmaManager {
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
17 public:
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
18 virtual ~DmaManager(void) {};
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
19
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
20 BASE_NEW_DELETE(DmaManager);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
21
88
504899860e66 *** empty log message ***
gongo
parents: 46
diff changeset
22 // API for DMA transfer
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
23 virtual void dma_load(void *buf, uint32 addr, uint32 size, uint32 mask) {}
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
24 virtual void dma_store(void *buf,uint32 addr, uint32 size, uint32 mask) {}
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
25 virtual void dma_wait(uint32 mask) {}
255
45e849a81763 show dma wait
tkaito@localhost.localdomain
parents: 233
diff changeset
26 virtual void show_dma_wait(int cpu) {}
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
27
88
504899860e66 *** empty log message ***
gongo
parents: 46
diff changeset
28 // API for SPU inbound/outbound mailbox
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
29 virtual void mail_write(uint32 data) {}
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
30 virtual uint32 mail_read(void) {return 0;}
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
31
88
504899860e66 *** empty log message ***
gongo
parents: 46
diff changeset
32 // API for MFC list DMA transfer
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
33 virtual void dma_loadList(ListDataPtr list, void *,uint32 mask) {}
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
34 virtual void dma_storeList(ListDataPtr, void *buff, uint32 mask) {}
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
35 };
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
36
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
37 #endif