Introducing mem_cpointer_t type for compressed pointers.
This commit is contained in:
@@ -65,7 +65,7 @@ typedef struct __attribute__ ((aligned (MEM_ALIGNMENT))) mem_pool_state_t
|
||||
unsigned int free_chunks_number : MEM_POOL_MAX_CHUNKS_NUMBER_LOG;
|
||||
|
||||
/** Pointer to the next pool with same chunk size */
|
||||
unsigned int next_pool_cp : MEM_COMPRESSED_POINTER_WIDTH;
|
||||
mem_cpointer_t next_pool_cp : MEM_COMPRESSED_POINTER_WIDTH;
|
||||
} mem_pool_state_t;
|
||||
|
||||
extern void mem_pool_init (mem_pool_state_t *pool_p, size_t pool_size);
|
||||
|
||||
Reference in New Issue
Block a user