source: tools/oebuild/data/pti_np/pti_buffer.h @ 45168

Last change on this file since 45168 was 45168, checked in by obi, 19 months ago

add oebuild building files

  • Property svn:executable set to *
File size: 425 bytes
Line 
1#ifndef _PTI_BUFFER_H_
2#define _PTI_BUFFER_H_
3
4#include "pti_hal.h"
5
6struct tBuffer
7{
8        struct tBuffer *pNext;
9        int dmaIndex;
10        int sessionHandle;
11        int inUse;
12        int slotCount;
13        u8 *pBuffer;
14        u8 *pMappedBuffer;
15        u8 *pAlignedBuffer;
16        int bufSize;
17        int threshold;
18};
19
20int pti_buffer_pool_init(int poolNum, int *pSizes, int *pCount);
21
22struct tBuffer *pti_buffer_get(int size);
23void pti_buffer_free(struct tBuffer *pBuffer);
24
25#endif
Note: See TracBrowser for help on using the repository browser.