Mercurial > hg > Game > Cerium
view TaskManager/ManyCore/MainScheduler.h @ 2054:2e7a6f40672f draft
add param(4) in FileMapReduce.cc
author | masa |
---|---|
date | Fri, 29 Jan 2016 15:56:28 +0900 |
parents | e0d465efc57e |
children |
line wrap: on
line source
#ifndef INCLUDED_MAIN_SCHEDULER #define INCLUDED_MAIN_SCHEDULER #include "Scheduler.h" #include "FifoDmaManager.h" class MainScheduler : public Scheduler { protected: FifoDmaManager *fifoDmaManager; public: ~MainScheduler(void) {} void init_impl(int useRefDma); void mainMem_alloc(int id, int size); void mail_write_from_host(memaddr data) { fifoDmaManager->mail_write_from_host(data); } int min_cpu() { return mincpu; } int max_cpu() {return maxcpu; } memaddr mail_read_from_host() { return fifoDmaManager->mail_read_from_host(); } int has_mail_from_host() { return fifoDmaManager->has_mail_from_host(); } }; #endif