diff TaskManager/kernel/schedule/Scheduler.h @ 387:5e2d30bfbf23

no compile error but not worked.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 06 Aug 2009 22:40:52 +0900 (2009-08-06)
parents eab18aa0c7f6
children 82cb9368e3ff
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/Scheduler.h	Thu Aug 06 19:31:51 2009 +0900
+++ b/TaskManager/kernel/schedule/Scheduler.h	Thu Aug 06 22:40:52 2009 +0900
@@ -9,6 +9,7 @@
 #include "SchedTaskList.h"
 #include "TaskGroup.h"
 #include "MemList.h"
+#include "MemHash.h"
 
 #define MAX_USER_TASK 32
 #define MAX_SYSTEM_TASK 2
@@ -28,6 +29,7 @@
 
     /* variables */
     int id;
+    MemHash *hash;
 
     // double buffering
     TaskListPtr buff_taskList[2];
@@ -135,6 +137,14 @@
     virtual void mainMem_wait(void) {};
     void *mainMem_get(int id);
 
+    MemorySegment * Scheduler::get_segment(memaddr addr, MemList *m);
+    uint32 Scheduler::get_tag();
+    void Scheduler::put_segment(MemorySegment *s);
+    void Scheduler::wait_segment(MemorySegment *s);
+
+
+
+
     /* DMA Transfer */
     void dma_load(void *buf, uint32 addr, uint32 size, uint32 mask);
     void dma_store(void *buf,uint32 addr, uint32 size, uint32 mask);