view include/params.h @ 2:1e1b0d280427

commit
author yutaka@localhost.localdomain
date Wed, 07 Apr 2010 05:18:52 +0900
parents 68a98d68d62a
children 8b4d6bf8c43d
line wrap: on
line source

#ifndef INCLUDED_PARAMS
#define INCLUDED_PARAMS

#define SPE_NUM (6)
#define MAX_DMA_SIZE (1024*16)
#define ALIGN (16)

typedef struct {

  unsigned long long next_task;  //8
  unsigned long long ea_out; //8

  unsigned int next_task_size;   //4
  unsigned int size_out;     //4
  unsigned int pin_in;       //4
  unsigned int pin_out;      //4

} task_head_t; //32

typedef struct {

  task_head_t *head; //next data param
  void *input;
  unsigned int task_size;

} task_t;

#endif