comparison include/TaskManager/DmaManager.h @ 3:2356238ebea7

*** empty log message ***
author gongo
date Tue, 05 Feb 2008 20:22:50 +0900
parents
children aa11038dbdc1
comparison
equal deleted inserted replaced
2:70e9baa00f51 3:2356238ebea7
1 #ifndef INCLUDED_DMA_MANAGER
2 #define INCLUDED_DMA_MANAGER
3
4 enum dma_tag {
5 DMA_READ,
6 DMA_WRITE
7 };
8
9 #include "ppe_spe.h"
10
11 class DmaManager {
12 public:
13 virtual ~DmaManager(void) {};
14
15 virtual void dma_load(void *buf, unsigned int addr,int size, int mask) = 0;
16 virtual void dma_store(void *buf,unsigned int addr,int size, int mask) = 0;
17 virtual void dma_wait(int mask) = 0;
18
19 virtual void mail_write(unsigned int data) = 0;
20 virtual unsigned int mail_read(void) = 0;
21 };
22
23 #endif