view include/params.h @ 3:8b4d6bf8c43d

add entry_head function
author yutaka@localhost.localdomain
date Wed, 07 Apr 2010 17:35:34 +0900
parents 1e1b0d280427
children
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_in;     //4
  unsigned int size_out;     //4
  unsigned int pin_in;       //4
  unsigned int pin_out;      //4

  int pat[3]; //12

} task_head_t; //48

typedef struct {

  task_head_t *head; //next data param
  void *input;

} task_t;

#endif