comparison TaskManager/kernel/schedule/Scheduler.h @ 629:8843edf37c0e

Cell 64 bit tried, but not yet worked. Cell's list DMA is 32bit.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 18 Nov 2009 13:32:58 +0900
parents ab866bc8a624
children 0558abba673c
comparison
equal deleted inserted replaced
628:306c9a7717c3 629:8843edf37c0e
44 TaskListPtr buff_taskList[2]; 44 TaskListPtr buff_taskList[2];
45 45
46 int buffFlag_taskList; 46 int buffFlag_taskList;
47 47
48 /* GlobalMemoryList */ 48 /* GlobalMemoryList */
49 /* global among Tasks in the same CPU */
49 void* globalList[MAX_GLOBAL_AREA]; 50 void* globalList[MAX_GLOBAL_AREA];
50 51
51 /* MainMemory Allocate Command List */ 52 /* MainMemory Allocate Command List */
52 void* mainMemList[MAX_MAINMEM_AREA]; 53 memaddr mainMemList[MAX_MAINMEM_AREA];
53 54
54 /* Code Area */ 55 /* Code Area */
55 MemList *code_segment_pool; 56 MemList *code_segment_pool;
56 57
57 // Task Object Table 58 // Task Object Table
101 virtual void *allocate(int size) { return NULL; }; 102 virtual void *allocate(int size) { return NULL; };
102 void free_(void *p) { free(p); } 103 void free_(void *p) { free(p); }
103 104
104 virtual void mainMem_alloc(int id, int size) {}; 105 virtual void mainMem_alloc(int id, int size) {};
105 virtual void mainMem_wait() {}; 106 virtual void mainMem_wait() {};
106 void *mainMem_get(int id); 107 memaddr mainMem_get(int id);
107 108
108 MemorySegment * get_segment(memaddr addr, MemList *m); 109 MemorySegment * get_segment(memaddr addr, MemList *m);
109 MemorySegment * get_segment(memaddr addr, MemList *m, int size); 110 MemorySegment * get_segment(memaddr addr, MemList *m, int size);
110 void allocate_code_segment(int size, int count); 111 void allocate_code_segment(int size, int count);
111 112