changeset 1300:3a04b2e24df1 draft

add dma_loadList
author Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 06 Dec 2011 18:01:33 +0900
parents f0e805c09ed6
children 2fa31362ead0 ab9b7d21b32b
files TaskManager/Fifo/ReferencedDmaManager.cc TaskManager/Fifo/ReferencedDmaManager.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Fifo/ReferencedDmaManager.cc	Sun Dec 04 18:50:53 2011 +0900
+++ b/TaskManager/Fifo/ReferencedDmaManager.cc	Tue Dec 06 18:01:33 2011 +0900
@@ -8,3 +8,9 @@
 	return (void*)addr;
 }
 
+void *
+ReferencedDmaManager::dma_loadList(Scheduler *s, ListDataPtr list, void *buff, uint32 mask)
+{
+	ListElementPtr elm = &list->element[0];
+    return (void*)elm->addr; 
+}
--- a/TaskManager/Fifo/ReferencedDmaManager.h	Sun Dec 04 18:50:53 2011 +0900
+++ b/TaskManager/Fifo/ReferencedDmaManager.h	Tue Dec 06 18:01:33 2011 +0900
@@ -8,6 +8,7 @@
 public:
 	/* functions */
     virtual void *dma_load(Scheduler *s, void *buf, memaddr addr, uint32 size, uint32 mask);
+	virtual void *dma_loadList(Scheduler *s, ListDataPtr list, void *buff, uint32 mask);
 } ;
 
 #endif/* REFERENCED_DMA_MANAGER */