view include/TaskManager/SpeTaskList.h @ 31:6a77b5e755ab

*** empty log message ***
author gongo
date Tue, 12 Feb 2008 13:56:54 +0900
parents 2356238ebea7
children
line wrap: on
line source

#ifndef INCLUDED_SPE_TASKLIST
#define INCLUDED_SPE_TASKLIST

#ifndef INCLUDED_SPE_MANAGER
#  include "SpeManager.h"
#endif

#include "error.h"

class SpeTaskList : public SpeTaskBase {
public:
    /* constructor */
    SpeTaskList(unsigned int addr, TaskListPtr list, DmaManager* c);

    /* variables */
    unsigned int params_addr;
    TaskListPtr list;
    DmaManager* connector;

    /* functions */
    SpeTaskBase* next(SpeManager *, SpeTaskBase *);
    
    /* override functions */
    void read(void);

#ifdef DEBUG
    void exec(void)  { __debug("[SpeTaskList:%s]\n", __FUNCTION__); }
    void write(void) { __debug("[SpeTaskList:%s]\n", __FUNCTION__); }
#endif

};

//extern void get_task_list();
//extern void print_task_list();

#endif