comparison include/TaskManager/MainScheduler.h @ 1559:c60caac2f345 draft

fix fft
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Sat, 09 Mar 2013 21:23:40 +0900
parents
children
comparison
equal deleted inserted replaced
1558:69ded0c49aef 1559:c60caac2f345
1 #ifndef INCLUDED_MAIN_SCHEDULER
2 #define INCLUDED_MAIN_SCHEDULER
3
4 #include "Scheduler.h"
5 #include "FifoDmaManager.h"
6
7 class MainScheduler : public Scheduler {
8 protected:
9 FifoDmaManager *fifoDmaManager;
10 public:
11 ~MainScheduler(void) {}
12 void init_impl(int useRefDma);
13 void mainMem_alloc(int id, int size);
14
15 void mail_write_from_host(memaddr data) {
16 fifoDmaManager->mail_write_from_host(data);
17 }
18
19 memaddr mail_read_from_host() {
20 return fifoDmaManager->mail_read_from_host();
21 }
22
23 int has_mail_from_host() {
24 return fifoDmaManager->has_mail_from_host();
25 }
26
27 };
28
29 #endif