Mercurial > hg > Game > Cerium
view TaskManager/Fifo/MainScheduler.h @ 1229:424c1f16e704 draft
add args useRefDma
author | Daichi TOMA <e085740@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 24 Aug 2011 07:45:27 +0900 |
parents | 7ba4ad4538b1 |
children | 90c0ad32655f |
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); } memaddr mail_read_from_host() { return fifoDmaManager->mail_read_from_host(); } int has_mail_from_host() { return fifoDmaManager->has_mail_from_host(); } }; #endif