58
|
1 #ifndef INCLUDED_CELL_SCHEDULER
|
|
2 #define INCLUDED_CELL_SCHEDULER
|
|
3
|
109
|
4 #ifndef INCLUDED_BASE_H_
|
|
5 # include "base.h"
|
|
6 #endif
|
|
7
|
58
|
8 #ifndef INCLUDED_SCHEDULER
|
|
9 # include "Scheduler.h"
|
|
10 #endif
|
|
11
|
|
12 class CellScheduler : public Scheduler {
|
|
13 public:
|
109
|
14 BASE_NEW_DELETE(CellScheduler);
|
|
15
|
|
16 int id;
|
|
17
|
58
|
18 void init_impl(void);
|
109
|
19
|
|
20 void *allocate(int size);
|
|
21 void mainMem_alloc(int id, int size);
|
|
22 void mainMem_wait(void);
|
|
23
|
|
24 private:
|
|
25 int mainMemNum;
|
58
|
26 };
|
|
27
|
|
28 #endif
|