42
|
1 #ifndef INCLUDED_SCHED_NOP2READY
|
|
2 #define INCLUDED_SCHED_NOP2READY
|
|
3
|
|
4 #ifndef INCLUDED_SCHEDULER
|
|
5 # include "Scheduler.h"
|
|
6 #endif
|
|
7
|
|
8 #ifndef INCLUDED_SCHED_TASK_BASE
|
|
9 # include "SchedTaskBase.h"
|
|
10 #endif
|
|
11
|
|
12 #ifndef INCLUDED_SCHED_NOP
|
|
13 # include "SchedNop.h"
|
|
14 #endif
|
|
15
|
|
16 #include "error.h"
|
|
17
|
|
18 class SchedNop2Ready : public SchedNop {
|
|
19 public:
|
|
20 /* constructor */
|
|
21 SchedNop2Ready(DmaManager*);
|
|
22
|
|
23 /* variables */
|
|
24 DmaManager* connector;
|
|
25
|
|
26 /* functions */
|
|
27 void exec(void);
|
|
28 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
|
|
29
|
|
30 #if DEBUG
|
|
31 void read(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
|
|
32 void write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
|
|
33 #endif
|
|
34 };
|
|
35
|
|
36 #endif
|