view include/params.h @ 0:68a98d68d62a

commit
author yutaka@localhost.localdomain
date Sun, 28 Mar 2010 19:47:00 +0900
parents
children 1e1b0d280427
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

} send_params_head_t; //32

typedef struct {

  send_params_head_t *head; //next data param
  void *buff;

} send_params_t;

#endif