Mercurial > hg > Game > Cerium
comparison TaskManager/kernel/schedule/DmaManager.h @ 602:92b0d490e839 draft
64bit mode try... not worked.
author | e075740@nw0740.st.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 06 Nov 2009 21:20:26 +0900 |
parents | fdc3e30de9d3 |
children | 57ec231bc8ac |
comparison
equal
deleted
inserted
replaced
601:50c877027e0f | 602:92b0d490e839 |
---|---|
18 virtual ~DmaManager(void) {}; | 18 virtual ~DmaManager(void) {}; |
19 | 19 |
20 BASE_NEW_DELETE(DmaManager); | 20 BASE_NEW_DELETE(DmaManager); |
21 | 21 |
22 // API for DMA transfer | 22 // API for DMA transfer |
23 virtual void dma_load(void *buf, uint32 addr, uint32 size, uint32 mask) {} | 23 virtual void dma_load(void *buf, long addr, uint32 size, uint32 mask) {} |
24 virtual void dma_store(void *buf,uint32 addr, uint32 size, uint32 mask) {} | 24 virtual void dma_store(void *buf,long addr, uint32 size, uint32 mask) {} |
25 virtual void dma_wait(uint32 mask) {} | 25 virtual void dma_wait(uint32 mask) {} |
26 virtual void show_dma_wait(int cpu) {} | 26 virtual void show_dma_wait(int cpu) {} |
27 | 27 |
28 // API for SPU inbound/outbound mailbox | 28 // API for SPU inbound/outbound mailbox |
29 virtual void mail_write(uint32 data) {} | 29 virtual void mail_write(long data) {} |
30 virtual uint32 mail_read(void) {return 0;} | 30 virtual long mail_read(void) {return 0;} |
31 | 31 |
32 // API for MFC list DMA transfer | 32 // API for MFC list DMA transfer |
33 virtual void dma_loadList(ListDataPtr list, void *,uint32 mask) {} | 33 virtual void dma_loadList(ListDataPtr list, void *,uint32 mask) {} |
34 virtual void dma_storeList(ListDataPtr, void *buff, uint32 mask) {} | 34 virtual void dma_storeList(ListDataPtr, void *buff, uint32 mask) {} |
35 }; | 35 }; |