*/
/*
* @File: VBUF_api.h
- *
+ *
* @Abstract: Host Interface api
- *
+ *
* @Notes:
*/
typedef struct _VBUF
{
VDESC *desc_list;
- struct _VBUF *next_buf;
- A_UINT16 buf_length;
+ struct _VBUF *next_buf;
+ A_UINT16 buf_length;
A_UINT8 reserved[2];
- A_UINT8 ctx[MAX_BUF_CTX_LEN];
- //A_UINT8 end_point;
- //A_UINT8 reserved[1];
+ A_UINT8 ctx[MAX_BUF_CTX_LEN];
+ //A_UINT8 end_point;
+ //A_UINT8 reserved[1];
} VBUF;
#define VBUF_GET_DATA_ADDR(vbuf) (vbuf->desc_list->buf_addr + vbuf->desc_list->data_offset)
void (*_free_vbuf)(VBUF *buf);
/* room to expand this table by another table */
- void *pReserved;
+ void *pReserved;
};
extern void vbuf_module_install(struct vbuf_api *apis);