|
|
@ -65,7 +65,7 @@
|
|
|
|
#define SRSLTE_MAX_BUFFER_SIZE_BYTES (SRSLTE_MAX_BUFFER_SIZE_BITS/8)
|
|
|
|
#define SRSLTE_MAX_BUFFER_SIZE_BYTES (SRSLTE_MAX_BUFFER_SIZE_BITS/8)
|
|
|
|
#define SRSLTE_BUFFER_HEADER_OFFSET 1020
|
|
|
|
#define SRSLTE_BUFFER_HEADER_OFFSET 1020
|
|
|
|
|
|
|
|
|
|
|
|
#define SRSLTE_BUFFER_POOL_LOG_ENABLED
|
|
|
|
//#define SRSLTE_BUFFER_POOL_LOG_ENABLED
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED
|
|
|
|
#ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED
|
|
|
|
#define pool_allocate (pool->allocate(__PRETTY_FUNCTION__))
|
|
|
|
#define pool_allocate (pool->allocate(__PRETTY_FUNCTION__))
|
|
|
@ -73,6 +73,7 @@
|
|
|
|
#define SRSLTE_BUFFER_POOL_LOG_NAME_LEN 128
|
|
|
|
#define SRSLTE_BUFFER_POOL_LOG_NAME_LEN 128
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define pool_allocate (pool->allocate())
|
|
|
|
#define pool_allocate (pool->allocate())
|
|
|
|
|
|
|
|
#define pool_allocate_blocking (pool->allocate(NULL, true))
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define ZERO_OBJECT(x) memset(&(x), 0x0, sizeof((x)))
|
|
|
|
#define ZERO_OBJECT(x) memset(&(x), 0x0, sizeof((x)))
|
|
|
|